Module genpdf::render [−][src]
Expand description
Low-level PDF rendering utilities.
This module provides low-level abstractions over printpdf
: A Renderer
creates a
document with one or more pages with different sizes. A Page
has one or more layers, all
of the same size. A Layer
can be used to access its Area
.
An Area
is a view on a full layer or on a part of a layer. It can be used to print
lines and text. For more advanced text formatting, you can create a TextSection
from an
Area
.
Structs
Area | A view on an area of a PDF layer that can be drawn on. |
Layer | A layer of a page of a PDF document. |
Page | A page of a PDF document. |
Renderer | Renders a PDF document with one or more pages. |
TextSection | A text section that is drawn on an area of a PDF layer. |