2.3.5.29 EMR_POLYPOLYGON16 Record

The EMR_POLYPOLYGON16 record specifies a series of closed polygons. Each polygon is outlined using the current pen, and filled using the current brush and polygon fill mode. The polygons drawn by this record can overlap.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Type

Size

Bounds

...

...

...

NumberOfPolygons

Count

PolygonPointCount (variable)

...

aPoints (variable)

...

Type (4 bytes): An unsigned integer that identifies this record type as EMR_POLYPOLYGON16. This value is 0x0000005B.

Size (4 bytes): An unsigned integer that specifies the size of this record in bytes.

Bounds (16 bytes): A RectL object ([MS-WMF] section 2.2.2.19), which specifies the bounding rectangle in logical units.

NumberOfPolygons (4 bytes): An unsigned integer that specifies the number of polygons.

Count (4 bytes): An unsigned integer that specifies the total number of points in all polygons.

PolygonPointCount (variable): A NumberOfPolygons length array of 32-bit unsigned integers that specifies the point counts for each polygon.

aPoints (variable): A Count length array of PointS objects ([MS-WMF] section 2.2.2.16), which specifies the array of points.

See section 2.3.5 for more drawing record types.