[−][src]Function mupdf_sys::fz_new_list_device
pub unsafe extern "C" fn fz_new_list_device(
ctx: *mut fz_context,
list: *mut fz_display_list
) -> *mut fz_device
Create a rendering device for a display list.
When the device is rendering a page it will populate the display list with drawing commands (text, images, etc.). The display list can later be reused to render a page many times without having to re-interpret the page from the document file for each rendering. Once the device is no longer needed, free it with fz_drop_device.
list: A display list that the list device takes a reference to.