Learn R Programming

RGtk2 (version 2.8.8)

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

  • A list containing the following elements:
  • matrix[CairoMatrix] a cairo_matrix_t