Function mupdf_sys::fz_clone_pixmap

source ·
pub unsafe extern "C" fn fz_clone_pixmap(
    ctx: *mut fz_context,
    old: *const fz_pixmap
) -> *mut fz_pixmap
Expand description

Clone a pixmap, copying the pixels and associated data to new storage.

The reference count of ‘old’ is unchanged.