2.2.2.40 EmfPlusRegionNode Object

The EmfPlusRegionNode object specifies nodes 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

RegionNodeData (variable)

...

Type (4 bytes): An unsigned integer that specifies the type of data in the RegionNodeData field. This value is defined in the RegionNodeDataType enumeration (section 2.1.1.26).

RegionNodeData (variable): Optional, variable-length data that defines the region node data object specified in the Type field. The content and format of the data can be different for every region node type. This field MUST NOT be present if the node type is RegionNodeDataTypeEmpty or RegionNodeDataTypeInfinite.

Graphics regions are specified by EmfPlusRegion objects (section 2.2.1.8), which define a binary tree of region nodes. Each node MUST either be a terminal node or specify additional region nodes.

This object is generic and is used to specify different types of region node data, including:

  • An EmfPlusRegionNodePath object (section 2.2.2.42), for a terminal node;

  • An EmfPlusRectF object (section 2.2.2.39), for a terminal node; and

  • An EmfPlusRegionNodeChildNodes object (section 2.2.2.41), for a non-terminal node.

See section 2.2.2 for the specification of additional structure objects.