Name
cmatrix:Scale -- scale matrix
Synopsis
cmatrix:Scale(sx, sy)
Function
Applies scaling by
sx
,
sy
to the transformation in the matrix. The effect of the new transformation is to first scale the coordinates by
sx
and
sy
, then apply the original transformation to the coordinates.
Inputs
sx
scale factor in the X direction
sy
scale factor in the Y direction
Show TOC