2.3.4.21 EmfPlusFillRegion Record

The EmfPlusFillRegion record specifies filling the interior of a graphics region.


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

Flags

Size

DataSize

BrushId

Type (2 bytes): An unsigned integer that identifies this record type as EmfPlusFillRegion from the RecordType enumeration. The value MUST be 0x4013

Flags (2 bytes): An unsigned integer that provides information about how the operation is to be performed, and about the structure of the record.


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

S

X

X

X

X

X

X

X

ObjectId

S (1 bit): This bit specifies the type of data in the BrushId field.

If set, BrushId specifies a color as an EmfPlusARGB object. If clear, BrushId contains the index of an EmfPlusBrush object in the EMF+ Object Table.

X (1 bit): Reserved and MUST be ignored.

ObjectId (1 byte): The index of the EmfPlusRegion object to fill, in the EMF+ Object Table. The value MUST be zero to 63, inclusive.

Size (4 bytes): An unsigned integer that specifies the 32-bit-aligned size of the entire record in bytes, including the 12-byte record header and record-specific data. For this record type, the value MUST be 0x00000010.

DataSize (4 bytes): An unsigned integer that specifies the 32-bit-aligned number of bytes of record-specific data that follows. For this record type, the value MUST be 0x00000004.

BrushId (4 bytes): An unsigned integer that defines the brush, the content of which is determined by the S bit in the Flags field.

See section 2.3.4 for the specification of additional drawing record types.