Function mupdf_sys::fz_clamp_location
source · pub unsafe extern "C" fn fz_clamp_location(
ctx: *mut fz_context,
doc: *mut fz_document,
loc: fz_location
) -> fz_location
Expand description
Clamps a location into valid chapter/page range. (First clamps the chapter into range, then the page into range).