Function mupdf_sys::fz_new_image_from_display_list[][src]

pub unsafe extern "C" fn fz_new_image_from_display_list(
    ctx: *mut fz_context,
    w: f32,
    h: f32,
    list: *mut fz_display_list
) -> *mut fz_image

Create a new image from a display list.

w, h: The conceptual width/height of the image.

transform: The matrix that needs to be applied to the given list to make it render to the unit square.

list: The display list.