Function Matrix.this

Sets matrix to be the affine transformation given by xx, yx, xy, yy, x0, y0. The transformation is given by:

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

Prototype

ref this(
  double xx,
  double yx,
  double xy,
  double yy,
  double x0,
  double y0
);

Parameters

NameDescription
xx xx component of the affine transformation
yx yx component of the affine transformation
xy xy component of the affine transformation
yy yy component of the affine transformation
x0 X translation component of the affine transformation
y0 Y translation component of the affine transformation

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