Function mupdf_sys::fz_new_draw_device_with_bbox [−][src]
pub unsafe extern "C" fn fz_new_draw_device_with_bbox(
ctx: *mut fz_context,
transform: fz_matrix,
dest: *mut fz_pixmap,
clip: *const fz_irect
) -> *mut fz_device
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.