cairoMatrixInit: cairoMatrixInit

Description Usage Arguments Value Author(s)

View source: R/cairoFuncs.R

Description

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

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

Usage

1
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

Value

A list containing the following elements:

matrix

[CairoMatrix] a CairoMatrix

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.

Related to cairoMatrixInit in RGtk2...