RGtk2 (version 2.20.31)

cairoMatrixInitScale: cairoMatrixInitScale

Description

Initializes matrix to a transformation that scales by sx and sy in the X and Y dimensions, respectively.

Usage

cairoMatrixInitScale(sx, sy)

Arguments

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

Value

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