VKVG  
Vulkan Vector Graphics
Loading...
Searching...
No Matches

◆ vkvg_matrix_rotate()

void vkvg_matrix_rotate ( vkvg_matrix_t *  matrix,
float  radians 
)

Apply a rotation of radians on the supplied matrix. The effect of the new transformation is to first rotate the coordinates by radians, then apply the original transformation to the coordinates.

Parameters
matrixa valid vkvg_matrix_t pointer on which the rotation will be applied
radiansangle 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.