cairoMatrixInit {RGtk2} | R Documentation

## 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

### Value

A list containing the following elements:

``matrix`` | [`CairoMatrix`] a `CairoMatrix`

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]