Skip to main content

render_page_with

Function render_page_with 

Source
pub fn render_page_with<B: RasterBackend>(
    page: &Page,
    opts: &RenderOptions,
    backend: &B,
    session: RenderSession<'_>,
    diags: &mut Diagnostics,
) -> Result<Pixmap, Error>
Expand description

Render a page, reusing caller-owned caches and honouring optional content.

The general entry point: render_page is this with a default RenderSession, and is the right call when neither of the session’s two parts applies.

§Errors

As render_page.