Function 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.
Prototypes
void scale(
double sx,
double sy
);
void scale(
Point!(double) point
);
Parameters
Name | Description |
---|---|
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 |