Function Matrix.initScale

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

Prototypes

void initScale(
  double sx,
  double sy
);

void initScale(
  Point!(double) point
);

Parameters

NameDescription
sx scale factor in the X direction
sy scale factor in the Y direction

Authors

Johannes Pfau cairoD
Andrej Mitrovic cairoD
cairo team cairo

Copyright

License

cairoD wrapper/bindings Boost License 1.0
cairo LGPL 2.1 / MPL 1.1