Learn R Programming

RGtk2 (version 2.20.31)

cairoMatrixScale: cairoMatrixScale

Description

Applies scaling by sx, sy to the transformation in matrix. The effect of the new transformation is to first scale the coordinates by sx and sy, then apply the original transformation to the coordinates.

Usage

cairoMatrixScale(matrix, sx, sy)

Arguments

sx
[numeric] scale factor in the X direction
sy
[numeric] scale factor in the Y direction