Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

cairo-matrix

cairo_matrix_t


Description

Generic matrix operations

Methods and Functions

Detailed Description

CairoMatrix is used throughout cairo to convert between different coordinate spaces. A CairoMatrix holds an affine transformation, such as a scale, rotation, shear, or a combination of these. 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, represented as a CairoMatrix, defines the transformation from user-space coordinates to device-space coordinates. See cairoGetMatrix and cairoSetMatrix.

Structures

CairoMatrix

A CairoMatrix 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;
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

Author(s)

Derived by RGtkGen from GTK+ documentation

References


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.