/tg/ Station 13 - Modules - TypesProc Details

matrix

Procs

ShearShear the transform on either or both axes.
decomposeDecomposes a matrix into scale, shift and rotation.
get_x_shiftThe X pixel offset of this matrix
get_y_shiftThe Y pixel offset of this matrix

Proc Details

Shear

Shear the transform on either or both axes.

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.

Negative scales are now supported. =)

get_x_shift

The X pixel offset of this matrix

get_y_shift

The Y pixel offset of this matrix