The OpenD Programming Language

Matrix.initScale

nitializes matrix to a transformation that scales by sx and sy in the X and Y dimensions, respectively.

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

Parameters

sx double

scale factor in the X direction

sy double

scale factor in the Y direction

Meta