Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The MILCMD_VISUAL_SETOFFSET packet specifies how the coordinate space of a visual is transformed relative to that of its parent visual.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
messageSize |
|||||||||||||||||||||||||||||||
controlCode |
|||||||||||||||||||||||||||||||
targetResource |
|||||||||||||||||||||||||||||||
offsetX |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
offsetY |
|||||||||||||||||||||||||||||||
... |
messageSize (4 bytes): A 32-bit unsigned integer. The size of this message in bytes. The value of this field MUST be set to 0x0000001C.
controlCode (4 bytes): A 32-bit unsigned integer containing the control code for this message. The value of this field MUST be equal to 0x0000001C.
targetResource (4 bytes): A 32-bit unsigned integer. The value of this field MUST be set to a valid resource handle referencing a resource of type TYPE_VISUAL or TYPE_WINDOWNODE. This handle identifies the resource that is the target for this message.
offsetX (8 bytes): A 64-bit floating-point number. The horizontal offset of the specified visual.
offsetY (8 bytes): A 64-bit floating-point number. The vertical offset of the specified visual.