Expand description
Line breaking: converts inline items into laid-out lines.
Uses a greedy algorithm with unicode-linebreak for break opportunities.
Structs§
- Layout
Line - A laid-out line within a paragraph.
- Line
Break Params - Parameters for line breaking.
- TabStop
- A tab stop positioned in typographic points.
- Text
Segment - A shaped text segment with associated formatting.
Enums§
- Align
- Paragraph alignment.
- Inline
Item - An inline item to be placed on a line.
- Line
Item - A single item positioned on a line.
- Line
Spacing - Line height rule.
- TabAlign
- Alignment relative to a tab stop.
- TabLeader
- Leader style used to fill a tab gap.
- Underline
- Underline style applied to a text segment.
Functions§
- break_
into_ lines - Break inline items into lines using a greedy algorithm.