2.3.1.5 EmfPlusSetClipRegion Record
The EmfPlusSetClipRegion record combines the current clipping region with another graphics region.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Type |
Flags |
||||||||||||||||||||||||||||||
Size |
|||||||||||||||||||||||||||||||
DataSize |
Type (2 bytes): An unsigned integer that identifies this record type as EmfPlusSetClipRegion from the RecordType enumeration. The value MUST be 0x4034.
Flags (2 bytes): An unsigned integer that provides information about how the operation is to be performed, and about the structure of the record.
-
0
1
2
3
4
5
6
7
8
91
0
1
2
3
4
5
6
7
8
92
0
1
2
3
4
5
6
7
8
93
0
1X
X
X
X
CM
ObjectID
-
X (1 bit): Reserved and MUST be ignored.
-
CM (4 bits): The logical operation for combining two regions. See the CombineMode enumeration for the meanings of the values.
-
ObjectID (1 byte): The index of an EmfPlusRegion object in the EMF+ Object Table. The value MUST be zero to 63, inclusive.
Size (4 bytes): An unsigned integer that specifies the 32-bit-aligned size of the entire record in bytes, including the 12-byte record header and record-specific data. For this record type, the value MUST be 0x0000000C.
DataSize (4 bytes): An unsigned integer that specifies the 32-bit-aligned number of bytes of data in the record-specific data that follows. This number does not include the size of the invariant part of this record. For this record type, the value MUST be 0x00000000.
The new current clipping region is set to the result of performing the CombineMode operation on the previous current clipping region and the specified EmfPlusRegion object.
See section 2.3.1 for the specification of additional clipping record types.