tx, ty = TransformPoint(px, py, m)
m
to the
point specified by px
and py
and returns the coordinates of the transformed
point. The transformation matrix m
must be passed as a table that has the following
fields initialized:
sx:
rx:
ry:
sy:
You can use the Matrix2D() function to construct such a matrix. See Matrix2D for details.