2.3.5.11 EMR_FRAMERGN Record

The EMR_FRAMERGN record draws a border around the specified region 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

Width

Height

RgnData (variable)

...

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

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 coordinates. 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 index.

Width (4 bytes): A signed integer that specifies the width of the vertical brush stroke, in logical units.

Height (4 bytes): A signed integer that specifies the height of the horizontal brush stroke, in logical units.

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<66> be used as the bounding region when this record is processed.

See section 2.3.5 for more drawing record types.