2.2.2.2.1.1.2.6 MultiOpaqueRect (MULTI_OPAQUERECT_ORDER)

The MultiOpaqueRect Primary Drawing Order is used to paint multiple rectangles by using an opaque brush.

 Encoding order number: 18 (0x12)
 Negotiation order number: 18 (0x12)
 Number of fields: 9
 Number of field encoding bytes: 2
 Maximum encoded field length: 397 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

nLeftRect (variable)

nTopRect (variable)

nWidth (variable)

nHeight (variable)

RedOrPaletteIndex (optional)

Green (optional)

Blue (optional)

nDeltaEntries (optional)

CodedDeltaList (variable)

...

nLeftRect (variable): The left coordinate of the destination rectangle specified by using a Coord Field (section 2.2.2.2.1.1.1.1).

nTopRect (variable): The top coordinate of the destination rectangle specified by using a Coord Field (section 2.2.2.2.1.1.1.1).

nWidth (variable): The width of the destination rectangle specified by using a Coord Field (section 2.2.2.2.1.1.1.1).

nHeight (variable): The height of the destination rectangle specified by using a Coord Field (section 2.2.2.2.1.1.1.1).

RedOrPaletteIndex (1 byte): An 8-bit, unsigned integer. Used as a palette index for 16-color and 256-color palettized color schemes. If the RGB color scheme is in effect, it holds the red RGB component.

Green (1 byte): An 8-bit, unsigned integer. The green RGB color component.

Blue (1 byte): An 8-bit, unsigned integer. The blue RGB color component.

nDeltaEntries (1 byte): An 8-bit, unsigned integer. The number of bounding rectangles described by the CodedDeltaList field.

CodedDeltaList (variable): A Two-Byte Header Variable Field (section 2.2.2.2.1.1.1.3) structure that encapsulates a Delta-Encoded Rectangles (section 2.2.2.2.1.1.1.5) structure that contains bounding rectangles to use when rendering the order. The number of rectangles described by the Delta-Encoded Rectangles structure is specified by the nDeltaEntries field.