1pub mod bundled_fonts;
4pub mod error;
5pub mod font;
6pub mod line;
7pub mod output;
8pub mod paint;
9pub mod path;
10pub mod transform;
11
12pub use error::{LayoutError, Result};
13pub use font::{
14 FontFile, FontManager, FontMetrics, GlyphCluster, MultilingualTextSegment, ShapedText,
15 TextDirection, TextScript,
16};
17pub use line::{
18 Align, InlineItem, LayoutLine, LineBreakParams, LineItem, LineSpacing, NoteRef, NoteStream,
19 TabAlign, TabLeader, TabStop, TextSegment, Underline, break_into_lines,
20 break_multilingual_into_lines,
21};
22pub use output::{
23 Color, Diagnostic, DocumentMetadata, DocumentStructure, Effect, FieldKind, FontData, FontId,
24 GlyphRun, GroupElement, LayoutResult, MediaId, MultilingualGlyphRun, OutlineEntry, PageFrame,
25 PathElement, Point, PositionedElement, Rect, SourceNodeId, SourceSpan, StructureId,
26 StructureNode, StructureRole, walk,
27};
28pub use paint::{GradientStop, LineCap, LineJoin, Paint, Stroke};
29pub use path::{FillRule, Path, PathCommand};
30pub use transform::Transform;