2.2.8.13 MILCMD_PUSH_CLIP
The MILCMD_PUSH_CLIP packet instructs the compositor to push a clip region, which will apply to all drawing primitives until the corresponding pop call, as described in section 3.1.1.7.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
messageSize |
|||||||||||||||||||||||||||||||
controlCode |
|||||||||||||||||||||||||||||||
hClipGeometry |
|||||||||||||||||||||||||||||||
reserved |
messageSize (4 bytes): A 32-bit unsigned integer. The size of this message in bytes. The value of this field MUST be set to 0x00000010.
controlCode (4 bytes): A 32-bit unsigned integer containing the control code for this message. The value of this field MUST be equal to 0x00000074.
hClipGeometry (4 bytes): A 32-bit unsigned integer. The value of this field MUST either be set to zero or set to a valid resource handle referencing a resource of type TYPE_RECTANGLEGEOMETRY, TYPE_COMBINEDGEOMETRY, or TYPE_PATHGEOMETRY. This resource represents the geometry to which we will clip.
reserved (4 bytes): Reserved. MUST be set to zero when sent, and MUST be ignored when received.