/tg/ Station 13 - Modules - TypesProc Details

matrix

Procs

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

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