Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
2.3.5.14 EMR_PAINTRGN Record

2.3.5.14 EMR_PAINTRGN Record

The EMR_PAINTRGN record paints the specified region by using the brush currently selected into the playback device context.

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 (16 bytes)

...

...

RgnDataSize

RgnData (variable)

...

Type (4 bytes): A 32-bit unsigned integer that identifies this record type as EMR_PAINTRGN. This MUST be 0x0000004A.

Size (4 bytes): A 32-bit unsigned integer that specifies the size of this record, in bytes.

Bounds (16 bytes): A WMF 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 rectangle in the playback device context is empty, this record has no effect.

RgnDataSize (4 bytes): A 32-bit unsigned integer that specifies the size of region data, in bytes.

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

See section 2.3.5 for the specification of other Drawing record types.

Show:
© 2015 Microsoft