2.2.7.92 MILCMD_PATHGEOMETRY

This message updates all properties of a resource of type TYPE_PATHGEOMETRY. This resource represents a complex shape. The path is defined by a series of figures, each of which is defined by a series of segments. Figures are laid out as described by MIL_PATHGEOMETRY (section 2.2.4.4), are part of the message, and follow the MILCMD_PATHGEOMETRY header.


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

messageSize

controlCode

targetResource

FillRule

FiguresCollectionSize

FiguresCollection (variable)

...

messageSize (4 bytes): A 32-bit unsigned integer. The total size of this message and its payload in bytes. The value of this field MUST be set to a number divisible by four and greater than or equal to 0x00000014.

controlCode (4 bytes): A 32-bit unsigned integer containing the control code for this message. The value of this field MUST be equal to 0x0000008A.

targetResource (4 bytes): A 32-bit unsigned integer. This field MUST be set to a valid resource handle referencing a resource of type TYPE_PATHGEOMETRY. This handle identifies the resource that is the target for this message.

FillRule (4 bytes): A MilFillRule enumeration. Specifies how the intersecting areas contained in this path geometry are combined.

FiguresCollectionSize (4 bytes): A 32-bit unsigned integer. The size in bytes of the FiguresCollection array.

FiguresCollection (variable): A variable-length array of elements of type MIL_PATHGEOMETRY. The collection of path figure objects contained in this path geometry. The number of elements in this array MUST be equal to the value of the FiguresCollectionSize field divided by 28.