cairoMatrixInit: cairoMatrixInit
Description
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;
Usage
cairoMatrixInit(xx, yx, xy, yy, x0, y0)
Arguments
xx
[numeric] xx component of the affine transformation
yx
[numeric] yx component of the affine transformation
xy
[numeric] xy component of the affine transformation
yy
[numeric] yy component of the affine transformation
x0
[numeric] X translation component of the affine transformation
y0
[numeric] Y translation component of the affine transformation