# matrix

## Procs | |

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 |

## 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