2.2.7.88 MILCMD_SCALETRANSFORM

This message updates all properties of a resource of type TYPE_SCALETRANSFORM. This resource represents a scale transform of an object in 2-D space.


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

ScaleX

...

ScaleY

...

CenterX

...

CenterY

...

hScaleXAnimations

hScaleYAnimations

hCenterXAnimations

hCenterYAnimations

messageSize (4 bytes): A 32-bit unsigned integer. The size of this message in bytes. The value of this field MUST be set to 0x0000003C.

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

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

ScaleX (8 bytes): A 64-bit floating-point number. The amount to stretch or shrink an object along the X-axis.

ScaleY (8 bytes): A 64-bit floating-point number. The amount to stretch or shrink an object along the Y-axis.

CenterX (8 bytes): A 64-bit floating-point number. The X-coordinate of the center point of scaling.

CenterY (8 bytes): A 64-bit floating-point number. The Y-coordinate of the center point of scaling.

hScaleXAnimations (4 bytes): A 32-bit unsigned integer. The value of this field MUST either be set to zero or set to a valid resource handle referencing a resource of type TYPE_DOUBLERESOURCE. If the value of this field is nonzero, the referenced resource animates the value of the ScaleX property; otherwise, the property is not animated.

hScaleYAnimations (4 bytes): A 32-bit unsigned integer. The value of this field MUST either be set to zero or set to a valid resource handle referencing a resource of type TYPE_DOUBLERESOURCE. If the value of this field is nonzero, the referenced resource animates the value of the ScaleY property; otherwise, the property is not animated.

hCenterXAnimations (4 bytes): A 32-bit unsigned integer. The value of this field MUST either be set to zero or set to a valid resource handle referencing a resource of type TYPE_DOUBLERESOURCE. If the value of this field is nonzero, the referenced resource animates the value of the CenterX property; otherwise, the property is not animated.

hCenterYAnimations (4 bytes): A 32-bit unsigned integer. The value of this field MUST either be set to zero or set to a valid resource handle referencing a resource of type TYPE_DOUBLERESOURCE. If the value of this field is nonzero, the referenced resource animates the value of the CenterY property; otherwise, the property is not animated.

Show: