transform
Transforms the current transformation matrix using another matrix.
Declaration
void transform(
unrestricted float m11,
unrestricted float m12,
unrestricted float m21,
unrestricted float m22,
unrestricted float dx,
unrestricted float dy
);Parameters
- m11:
Column 1 row 1 matrix value (a).
- m12:
Column 1 row 2 matrix value (b).
- m21:
Column 2 row 1 matrix value (c).
- m22:
Column 2 row 2 matrix value (d).
- dx:
X scalar (e).
- dy:
Y Scalar (f).
Discussion
This method replaces the current transformation matrix with the result of a matrix multiplication between the current transformation matrix and the specified transformation matrix shown in Figure 1.
[Image]