2.3.6.10 DRAWPATTERNRECT Record
The DRAWPATTERNRECT Record draws a rectangle with a defined pattern.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RecordSize |
|||||||||||||||||||||||||||||||
RecordFunction |
EscapeFunction |
||||||||||||||||||||||||||||||
ByteCount |
Position |
||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
Size |
||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
Style |
||||||||||||||||||||||||||||||
Pattern |
RecordSize (4 bytes): A 32-bit unsigned integer that defines the number of WORD structures, defined in [MS-DTYP] section 2.2.61, in the record.
RecordFunction (2 bytes): A 16-bit unsigned integer that defines this record type. The lower byte MUST match the lower byte of the RecordType Enumeration (section 2.1.1.1) table value META_ESCAPE.
EscapeFunction (2 bytes): A 16-bit unsigned integer that defines the escape function. The value MUST be 0x0019 (DRAWPATTERNRECT) from the MetafileEscapes Enumeration (section 2.1.1.17).
ByteCount (2 bytes): A 16-bit unsigned integer that specifies the size, in bytes, of the record data that follows. This MUST be 0x0014.
Position (8 bytes): A PointL Object (section 2.2.2.15) that defines the position of the rectangle.
Size (8 bytes): A PointL Object that defines the dimensions of the rectangle.
Style (2 bytes): A 16-bit unsigned integer that defines the style.
Pattern (2 bytes): A 16-bit unsigned integer that defines the pattern.
See section 2.3.6 for the specification of other Escape Record Types.