TransMatrix

For certain types of drawing operations you may want to adjust (or transform, which is the proper term) the coordinates in some way The part of the graphic state that tracks this is called the current transformation matrix (CTM).

To apply a transformation, you use the cm operator, which takes six operands that represent a standard 3x2 matrix.

| Transformation | Operand                  |
| ---            | ---                      |
| Translation    | 1 0 0 1 tx ty            |
| Rotation       | cosQ sinQ -sinQ cosQ 0 0 |
| Skew           | 1 tanA tabB 1 0 0        |

Members

Variables

a
float a;
Undocumented in source.
b
float b;
Undocumented in source.
c
float c;
Undocumented in source.
d
float d;
Undocumented in source.
x
float x;
Undocumented in source.
y
float y;
Undocumented in source.

Meta