Function mupdf_sys::fz_new_draw_device_with_options[][src]

pub unsafe extern "C" fn fz_new_draw_device_with_options(
    ctx: *mut fz_context,
    options: *const fz_draw_options,
    mediabox: fz_rect,
    pixmap: *mut *mut fz_pixmap
) -> *mut fz_device

Create a new pixmap and draw device, using the specified options.

options: Options to configure the draw device, and choose the resolution and colorspace.

mediabox: The bounds of the page in points.

pixmap: An out parameter containing the newly created pixmap.