Expand description
Format-neutral layout output and font primitives.
Re-exports§
pub use error::LayoutError;pub use error::Result;pub use font::FontFile;pub use font::FontManager;pub use font::FontMetrics;pub use font::ShapedText;pub use line::Align;pub use line::InlineItem;pub use line::LayoutLine;pub use line::LineBreakParams;pub use line::LineItem;pub use line::LineSpacing;pub use line::TabAlign;pub use line::TabLeader;pub use line::TabStop;pub use line::TextSegment;pub use line::Underline;pub use line::break_into_lines;pub use output::Color;pub use output::Diagnostic;pub use output::DocumentMetadata;pub use output::Effect;pub use output::FieldKind;pub use output::FontData;pub use output::FontId;pub use output::GlyphRun;pub use output::GroupElement;pub use output::LayoutResult;pub use output::MediaId;pub use output::OutlineEntry;pub use output::PageFrame;pub use output::PathElement;pub use output::Point;pub use output::PositionedElement;pub use output::Rect;pub use output::walk;pub use paint::GradientStop;pub use paint::LineCap;pub use paint::LineJoin;pub use paint::Paint;pub use paint::Stroke;pub use path::FillRule;pub use path::Path;pub use path::PathCommand;pub use transform::Transform;
Modules§
- bundled_
fonts - Bundled fallback fonts for standalone operation.
- error
- Layout engine error types.
- font
- Font loading, resolution, shaping, and metrics.
- line
- Line breaking: converts inline items into laid-out lines.
- output
- Output types for the layout engine: positioned page frames, glyph runs, etc.
- paint
- Backend-neutral fill and stroke paint.
- path
- Backend-neutral path geometry.
- transform
- Format-neutral two-dimensional affine transforms.