Matrix.scale

Applies scaling by sx, sy to the transformation in 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.

  1. void scale(double sx, double sy)
    struct Matrix
    void
    scale
    (
    double sx
    ,
    double sy
    )
  2. void scale(Point!double point)

Parameters

sx double

scale factor in the X direction

sy double

scale factor in the Y direction

Meta