2.3.3.15 META_POLYGON Record

The META_POLYGON record paints a polygon consisting of two or more vertices connected by straight lines. The polygon is outlined by using the pen and filled by using the brush and polygon fill mode that are defined in the playback device context.


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

RecordSize

RecordFunction

NumberofPoints

aPoints (variable)

...

RecordSize (4 bytes): A 32-bit unsigned integer that defines the number of WORDs in the WMF record.

RecordFunction (2 bytes): A 16-bit unsigned integer that defines this WMF record type. The lower byte MUST match the lower byte of the RecordType Enumeration (section 2.1.1.1) value META_POLYGON.

NumberofPoints (2 bytes): A 16-bit signed integer that defines the number of points in the array.

aPoints (variable): A NumberOfPoints array of 32-bit PointS Objects (section 2.2.2.16), in logical units.

See section 2.3.3 for the specification of other Drawing records.

Show: