matrix
Procs | |
Shear | Shear the transform on either or both axes. |
---|---|
decompose | Decomposes a matrix into scale, shift and rotation. |
get_x_shift | The X pixel offset of this matrix |
get_y_shift | The Y pixel offset of this matrix |
togrid | Dumps the matrix data in a matrix-grid format |
tolist | Dumps the matrix data in format a-f |
Proc Details
Shear
Shear the transform on either or both axes.
- x - X axis shearing
- y - Y axis shearing
decompose
Decomposes a matrix into scale, shift and rotation.
- If other operations were applied on the matrix, such as shearing, the result will not be precise.
get_x_shift
The X pixel offset of this matrix
get_y_shift
The Y pixel offset of this matrix
togrid
Dumps the matrix data in a matrix-grid format
- a d 0
- b e 0
- c f 1
tolist
Dumps the matrix data in format a-f