2.3.5.10 EMR_FILLRGN Record

The EMR_FILLRGN record fills the specified region by using the specified brush. The current clipping regions used by this record are maintained in a Regions state element (section 3.1.1.2.1) in the playback device context (section 3.1).


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

Type

Size

Bounds

...

...

...

RgnDataSize

ihBrush

RgnData (variable)

...

Type (4 bytes): An unsigned integer that identifies this record type as EMR_FILLRGN. This value is 0x00000047.

Size (4 bytes): An unsigned integer that specifies the size of this record in bytes.

Bounds (16 bytes): A RectL object ([MS-WMF] section 2.2.2.19) that specifies the destination bounding rectangle in logical units. If the intersection of this rectangle with the current clipping region is empty, this record has no effect.

RgnDataSize (4 bytes): An unsigned integer that specifies the size of region data in bytes.

ihBrush (4 bytes): An unsigned integer that specifies the index of the brush in the EMF object table (section 3.1.1.1) for filling the region.

RgnData (variable): A RgnDataSize length array of bytes that specifies the output region in a RegionData object (section 2.2.24). The bounds specified by the RegionDataHeader field of this object MAY<65> be used as the bounding region when this record is processed.

See section 2.3.5 for more drawing record types.