2.2.2.2.1.1.2.18 Polyline (POLYLINE_ORDER)

The Polyline Primary Drawing Order encodes a solid color polyline consisting of two or more vertices connected by straight lines.

 Encoding order number: 22 (0x16)
 Negotiation order number: 22 (0x16)
 Number of fields: 7
 Number of field encoding bytes: 1
 Maximum encoded field length: 148 bytes


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

xStart (variable)

yStart (variable)

bRop2 (optional)

BrushCacheEntry (optional)

PenColor (optional)

...

NumDeltaEntries (optional)

CodedDeltaList (variable)

...

xStart (variable): The x-coordinate of the starting point of the polygon path specified by using a Coord Field (section 2.2.2.2.1.1.1.1).

yStart (variable): The y-coordinate of the starting point of the polygon path specified by using a Coord Field (section 2.2.2.2.1.1.1.1).

bRop2 (1 byte): The binary raster operation to perform (see section 2.2.2.2.1.1.1.6).

BrushCacheEntry (2 bytes): A 16-bit unsigned integer. The brush cache entry. This field is unused (as only solid color polylines are drawn) and SHOULD<3> be set to 0x0000.

PenColor (3 bytes): The foreground color described by using a Generic Color (section 2.2.2.2.1.1.1.8) structure.

NumDeltaEntries (1 byte): An 8-bit, unsigned integer. The number of points along the polyline path described by the CodedDeltaList field.

CodedDeltaList (variable): A One-Byte Header Variable Field (section 2.2.2.2.1.1.1.2) structure that encapsulates a Delta-Encoded Points (section 2.2.2.2.1.1.1.4) structure that contains the points along the polyline path. The number of points described by the Delta-Encoded Points structure is specified by the NumDeltaEntries field.