The OpenD Programming Language

Context.scale

Modifies the current transformation matrix (CTM) by scaling the X and Y user-space axes by sx and sy respectively. The scaling of the axes takes place after any existing transformation of user space.

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

Parameters

sx double

scale factor for the X dimension

sy double

scale factor for the Y dimension

Meta