Package: cairo
CStruct cairo-matrix-t
Details A cairo-matrix-t structure 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;The current transformation matrix of a cairo-t context, represented as a cairo-matrix-t structure, defines the transformation from user space coordinates to device space coordinates. See the functions cairo-get-matrix and cairo-set-matrix. (defcstruct cairo-matrix-t (xx :double) (yx :double) (xy :double) (yy :double) (x0 :double) (y0 :double))
| See also |
2020-12-5