50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


RGtk2 (version 2.12.17)

cairoMatrixInitTranslate: 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