Function mupdf_sys::fz_begin_page

source ·
pub unsafe extern "C" fn fz_begin_page(
    ctx: *mut fz_context,
    wri: *mut fz_document_writer,
    mediabox: fz_rect
) -> *mut fz_device
Expand description

Called to start the process of writing a page to a document.

mediabox: page size rectangle in points.

Returns a borrowed fz_device to write page contents to. This should be kept if required, and only dropped if it was kept.