A 3x3 matrix used to transform source coordinates (x1, y1) into destination coordinates (x2, y2) according to matrix multiplication:
[ x2 ] [ scaleX shearX translateX ] [ x1 ] [ y2 ] = [ shearY scaleY translateY ] [ y1 ] [ 1 ] [ 0 0 1 ] [ 1 ]
After transformation,
x2 = scaleX * x1 + shearX * y1 + translateX y2 = scaleY * y1 + shearY * x1 + translateY
A 3x3 matrix used to transform source coordinates (x1, y1) into destination coordinates (x2, y2) according to matrix multiplication:
After transformation,