Function mupdf_sys::fz_default_gray
source · pub unsafe extern "C" fn fz_default_gray(
ctx: *mut fz_context,
default_cs: *const fz_default_colorspaces
) -> *mut fz_colorspace
Expand description
Retrieve default colorspaces (typically page local).
If default_cs is non NULL, the default is retrieved from there, otherwise the global default is retrieved.
These return borrowed references that should not be dropped, unless they are kept first.