cairoMatrixInitTranslate {RGtk2} | R Documentation

## cairoMatrixInitTranslate

### Description

Initializes `matrix` to a transformation that translates by `tx` and `ty` in the X and Y dimensions, respectively.

### Usage

    cairoMatrixInitTranslate(tx, ty)

### Arguments

``tx`` | [numeric] amount to translate in the X direction
``ty`` | [numeric] amount to translate in the Y direction

### Value

A list containing the following elements:

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

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.40 Index]