2.2.3.2 Mil3x2Matrix

The Mil3x2Matrix structure specifies a 3x2 affine matrix used for transformations 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

m11

...

m12

...

m21

...

m22

...

offsetX

...

offsetY

...

m11 (8 bytes): A 64-bit floating-point number. The value of the matrix's cell referenced by row 1 column 1.

m12 (8 bytes): A 64-bit floating-point number. The value of the matrix's cell referenced by row 1 column 2.

m21 (8 bytes): A 64-bit floating-point number. The value of the matrix's cell referenced by row 2 column 1.

m22 (8 bytes): A 64-bit floating-point number. The value of the matrix's cell referenced by row 2 column 2.

offsetX (8 bytes): A 64-bit floating-point number. The value of the matrix's cell referenced by row 3 column 1. This value represents the translation along the X-axis.

offsetY (8 bytes): A 64-bit floating-point number. The value of the matrix's cell referenced by row 3 column 2. This value represents the translation along the Y-axis.