Function mupdf_sys::fz_new_draw_device_with_bbox_proof
source ยท pub unsafe extern "C" fn fz_new_draw_device_with_bbox_proof(
ctx: *mut fz_context,
transform: fz_matrix,
dest: *mut fz_pixmap,
clip: *const fz_irect,
cs: *mut fz_colorspace
) -> *mut fz_device
Expand description
Create a device to draw on a pixmap.
dest: Target pixmap for the draw device. See fz_new_pixmap* for how to obtain a pixmap. The pixmap is not cleared by the draw device, see fz_clear_pixmap* for how to clear it prior to calling fz_new_draw_device. Free the device by calling fz_drop_device.
transform: Transform from user space in points to device space in pixels.
clip: Bounding box to restrict any marking operations of the draw device.
proof_cs: Color space to render to prior to mapping to color space defined by pixmap.