Partager via


2.2.2.2.1.1.2.16 PolygonSC (POLYGON_SC_ORDER)

The PolygonSC Primary Drawing Order encodes a solid-color polygon consisting of two or more vertices connected by straight lines.

 Encoding order number: 20 (0x14)
 Negotiation order number: 20 (0x14)
 Number of fields: 7
 Number of field encoding bytes: 1
 Maximum encoded field length: 249 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)

FillMode (optional)

BrushColor (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).

FillMode (1 byte): The polygon filling algorithm described using a Fill Mode (section 2.2.2.2.1.1.1.9) structure.

BrushColor (3 bytes): 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 polygon 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 polygon path. The number of points described by the Delta-Encoded Points structure is specified by the NumDeltaEntries field.