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