RGtk2 (version 2.20.31)

cairoRotate: cairoRotate

Description

Modifies the current transformation matrix (CTM) by rotating the user-space axes by angle radians. The rotation of the axes takes places after any existing transformation of user space. The rotation direction for positive angles is from the positive X axis toward the positive Y axis.

Usage

cairoRotate(cr, angle)

Arguments

cr
[Cairo] a cairo context
angle
[numeric] angle (in radians) by which the user-space axes will be rotated