Name
cmatrix:Rotate -- rotate matrix
Synopsis
cmatrix:Rotate(radians)
Function
Applies rotation by radians to the transformation in the matrix. The effect of the new transformation is to first rotate the coordinates by radians, then apply the original transformation to the coordinates.

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.

Inputs
radians
angle of rotation in radians

Show TOC