Function mupdf_sys::fz_new_default_colorspaces
source · pub unsafe extern "C" fn fz_new_default_colorspaces(
ctx: *mut fz_context
) -> *mut fz_default_colorspaces
Expand description
Create a new default colorspace structure with values inherited from the context, and return a reference to it.
These can be overridden using fz_set_default_xxxx.
These should not be overridden while more than one caller has the reference for fear of race conditions.
The caller should drop this reference once finished with it.