Skip to main content

render_page_with_options

Function render_page_with_options 

Source
pub fn render_page_with_options(
    doc: &Document,
    page: &Page,
    scale: f32,
    opts: &RenderOptions,
) -> Result<Pixmap>
Expand description

Renders a page like render_page, honoring opts (currently the glyph painting tier). See render_page for the geometry contract and for what leniency means for the pixels you get back.