Skip to main content

Module output

Module output 

Source
Expand description

Output types for the layout engine: positioned page frames, glyph runs, etc.

Structs§

Color
An RGBA color with components in [0.0, 1.0].
Diagnostic
A rendering approximation or fallback message.
DocumentMetadata
Document metadata to pass through to PDF output.
FontData
Font data for embedding in PDF output.
FontId
Opaque font identifier assigned by FontManager.
GlyphRun
A positioned run of shaped glyphs.
GroupElement
A group of positioned children in one local coordinate system.
LayoutResult
The complete result of laying out a document.
MediaId
Stable content-addressed media key for renderer-local reuse.
OutlineEntry
An outline/bookmark entry for PDF generation.
PageFrame
A single page of laid-out content.
PathElement
One path with optional fill and stroke paints.
Point
A point in 2D space (in typographic points from the top-left corner).
Rect
An axis-aligned rectangle.

Enums§

Effect
An effect applied to a group.
FieldKind
Kind of field for post-pagination substitution.
PositionedElement
A positioned element on a page.

Functions§

walk
Visit every non-group element in depth-first document order.