m = Matrix2D(sx, sy, angle)
sx
and sy
and
the rotation factor specified by angle
into a 2x2 transformation matrix
and returns it. The 2x2 transformation matrix is returned as a table which
has the following fields initialized:
sx:
rx:
ry:
sy:
You could then pass the matrix to functions like TransformBox() or TransformPoint().