2.3.5.26 EMR_POLYLINETO Record

The EMR_POLYLINETO record specifies one or more straight lines based upon the current drawing position.


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

...

...

...

Count

aPoints (variable)

...

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

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

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

Count (4 bytes): An unsigned integer that specifies the number of points in the aPoints array.

 Line width

Device supports wideline

 Maximum points allowed

1

n/a

16K

> 1

yes

16K

> 1

no

1360

Any extra points MUST be ignored.

aPoints (variable): A Count length array of PointL objects ([MS-WMF] section 2.2.2.15, which specifies the point data, in logical units.

A line SHOULD be drawn from the current position to the first point specified by the aPoints field using the current pen. Each additional line SHOULD be drawn from the ending point of the previous line to the next point specified by aPoints.

See section 2.3.5 for more drawing record types.