2.2.28 XForm Object
The XForm object defines a two-dimensional, linear transform matrix.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
M11 |
|||||||||||||||||||||||||||||||
M12 |
|||||||||||||||||||||||||||||||
M21 |
|||||||||||||||||||||||||||||||
M22 |
|||||||||||||||||||||||||||||||
Dx |
|||||||||||||||||||||||||||||||
Dy |
M11 (4 bytes): A FLOAT matrix value.
M12 (4 bytes): A FLOAT matrix value.
M21 (4 bytes): A FLOAT matrix value.
M22 (4 bytes): A FLOAT matrix value.
Dx (4 bytes): A FLOAT value that contains a horizontal translation component, in logical units.
Dy (4 bytes): A FLOAT value that contains a vertical translation component, in logical units.
The following equations specify how the matrix values are used to transform a point (X,Y) to a new point (X',Y'):
-
X' = M11 * X + M21 * Y + Dx Y' = M12 * X + M22 * Y + Dy
For more information concerning transforms and coordinate spaces, see [MSDN-WRLDPGSPC].