RGtk2 (version 2.20.31)

cairoMatrixTranslate: cairoMatrixTranslate

Description

Applies a translation by tx, ty to the transformation in matrix. The effect of the new transformation is to first translate the coordinates by tx and ty, then apply the original transformation to the coordinates.

Usage

cairoMatrixTranslate(matrix, tx, ty)

Arguments

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