Function mupdf_sys::fz_transform_page
source · pub unsafe extern "C" fn fz_transform_page(
mediabox: fz_rect,
resolution: f32,
rotate: f32
) -> fz_matrix
Expand description
Create transform matrix to draw page at a given resolution and rotation. Adjusts the scaling factors so that the page covers whole number of pixels and adjust the page origin to be at 0,0.