2.3.3.12 META_PATBLT Record
The META_PATBLT Record paints a specified rectangle using the brush that is defined in the playback device context. The brush color and the surface color or colors are combined using the specified raster operation.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RecordSize |
|||||||||||||||||||||||||||||||
RecordFunction |
RasterOperation |
||||||||||||||||||||||||||||||
... |
Height |
||||||||||||||||||||||||||||||
Width |
YLeft |
||||||||||||||||||||||||||||||
XLeft |
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 WMF record.
RecordFunction (2 bytes): A 16-bit unsigned integer that defines this WMF record type. The lower byte MUST match the lower byte of the RecordType Enumeration (section 2.1.1.1) table value META_PATBLT.
RasterOperation (4 bytes): A 32-bit unsigned integer that defines the raster operation code. This code MUST be one of the values in the TernaryRasterOperation Enumeration (section 2.1.1.31) table.
Height (2 bytes): A 16-bit signed integer that defines the height, in logical units, of the rectangle.
Width (2 bytes): A 16-bit signed integer that defines the width, in logical units, of the rectangle.
YLeft (2 bytes): A 16-bit signed integer that defines the y-coordinate, in logical units, of the upper-left corner of the rectangle to be filled.
XLeft (2 bytes): A 16-bit signed integer that defines the x-coordinate, in logical units, of the upper-left corner of the rectangle to be filled.
See section 2.3.3 for the specification of other Drawing Records.