Learn R Programming

RGtk2 (version 2.20.31)

cairoScale: cairoScale

Description

Modifies the current transformation matrix (CTM) by scaling the X and Y user-space axes by sx and sy respectively. The scaling of the axes takes place after any existing transformation of user space.

Usage

cairoScale(cr, sx, sy)

Arguments

cr
[Cairo] a cairo context
sx
[numeric] scale factor for the X dimension
sy
[numeric] scale factor for the Y dimension