Function mupdf_sys::fz_shear[][src]

pub unsafe extern "C" fn fz_shear(sx: f32, sy: f32) -> fz_matrix

Create a shearing matrix.

The returned matrix is of the form [ 1 sy sx 1 0 0 ].

m: pointer to place to store returned matrix

sx, sy: Shearing factors. A shearing factor of 0.0 will not cause any shearing along the relevant axis.

Returns m.