Function mupdf_sys::fz_rotate

source ·
pub unsafe extern "C" fn fz_rotate(degrees: f32) -> fz_matrix
Expand description

Create a rotation matrix.

The returned matrix is of the form [ cos(deg) sin(deg) -sin(deg) cos(deg) 0 0 ].

m: Pointer to place to store matrix

degrees: Degrees of counter clockwise rotation. Values less than zero and greater than 360 are handled as expected.

Returns m.