Struct cairo_matrix_t

A cairo_matrix_t holds an affine transformation, such as a scale, rotation, shear, or a combination of those. The transformation of a point (x, y) is given by:

x_new = xx * x + xy * y + x0;
y_new = yx * x + yy * y + y0;

Fields

Name Type Description
x0 double X translation component of the affine transformation
xx double xx component of the affine transformation
xy double xy component of the affine transformation
y0 double Y translation component of the affine transformation
yx double yx component of the affine transformation
yy double yy component of the affine transformation

Authors

Johannes Pfau cairoD
cairo team cairo

Copyright

License

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