Function mupdf_sys::fz_is_rectilinear
source · pub unsafe extern "C" fn fz_is_rectilinear(m: fz_matrix) -> c_int
Expand description
Check if a transformation is rectilinear.
Rectilinear means that no shearing is present and that any rotations present are a multiple of 90 degrees. Usually this is used to make sure that axis-aligned rectangles before the transformation are still axis-aligned rectangles afterwards.