Applies rotation by radians to the transformation in matrix. The effect of the new transformation is to first rotate the coordinates by radians, then apply the original transformation to the coordinates.

cairo_matrix_rotate(matrix, radians)

Arguments

matrix

[cairo_matrix_t *] a #cairo_matrix_t

radians

[double] 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.

Details

Since: 1.0

C function prototype: void cairo_matrix_rotate (cairo_matrix_t *matrix, double radians)

See also