Learn R Programming

RGtk2 (version 2.20.31)

cairoMatrixInitRotate: cairoMatrixInitRotate

Description

Initialized matrix to a transformation that rotates by radians.

Usage

cairoMatrixInitRotate(radians)

Arguments

radians
[numeric] angle of rotation, in radians. The direction of rotation is defined such that positive angles rotate in the direction from the positive X axis toward the positive Y axis. With the default axis orientation of cairo, positive angles rotate in a clockwise direction.

Value

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