cairoTranslate {RGtk2} | R Documentation

## cairoTranslate

### Description

Modifies the current transformation matrix (CTM) by translating the user-space origin by (`tx`, `ty`). This offset is interpreted as a user-space coordinate according to the CTM in place before the new call to `cairoTranslate`. In other words, the translation of the user-space origin takes place after any existing transformation.

### Usage

    cairoTranslate(cr, tx, ty)

### Arguments

``cr`` | [`Cairo`] a cairo context
``tx`` | [numeric] amount to translate in the X direction
``ty`` | [numeric] amount to translate in the Y direction

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.40 Index]