Compartir a través de


2.2.2.2.1 Drawing Order (DRAWING_ORDER)

The DRAWING_ORDER structure is used to describe and encapsulate a single primary, secondary, or alternate secondary drawing order sent from server to client. All drawing orders conform to this basic structure (see sections 2.2.2.2.1.1.2, 2.2.2.2.1.2.1.1, and 2.2.2.2.1.3.1.1).


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

controlFlags

orderSpecificData (variable)

...

controlFlags (1 byte): An 8-bit, unsigned integer. A control byte that identifies the class of the drawing order.

If the TS_STANDARD (0x01) flag is set, the order is a primary drawing order. If both the TS_STANDARD (0x01) and TS_SECONDARY (0x02) flags are set, the order is a secondary drawing order. Finally, if only the TS_SECONDARY (0x02) flag is set, the order is an alternate secondary drawing order.

More flags MAY be present, depending on the drawing order class. The flags listed are common to all three classes of drawing orders.

Name

Value

TS_STANDARD

0x01

TS_SECONDARY

0x02

orderSpecificData (variable): Variable-length data specific to the drawing order class and the drawing order itself.