Struct genpdf::render::Renderer [−][src]
pub struct Renderer { /* fields omitted */ }
Expand description
Renders a PDF document with one or more pages.
This is a wrapper around a printpdf::PdfDocumentReference
.
Implementations
Creates a new PDF document renderer with one page of the given size and the given title.
Sets the PDF conformance for the generated PDF document.
Adds a new page with the given size to the document.
Returns the number of pages in this document.
Returns a mutable reference to a page of this document.
Returns a mutable reference to the first page of this document.
Returns the first page of this document.
Returns a mutable reference to the last page of this document.
Loads the font from the given data, adds it to the generated document and returns a reference to it.
Loads the font from the given data, adds it to the generated document and returns a reference to it.
Auto Trait Implementations
impl !RefUnwindSafe for Renderer
impl !UnwindSafe for Renderer