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 cairo_translate. 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.12.5-3 Index]