Expand description
Logic and types specific to individual glyph layout.
Structs
- An iterator yielding the
Rectfor eachchar’sGlyphin the giventext. - An iterator that, for every
(line, line_rect)pair yielded by the given iterator, produces an iterator that yields aRectfor every character in that line. - Yields a
Rectfor each selected character in a single line of text. - Yields an iteraor yielding
Rects for each selected character in each line of text within the given iterator yielding charRects.
Functions
- Convert the given sequence of contours to a
geom::Path. - Find the index of the character that directly follows the cursor at the given
cursor_idx. - Produce the lyon path for the given scaled glyph.
- Produce an iterator that, for every
(line, line_rect)pair yielded by the given iterator, produces an iterator that yields aRectfor every character in that line. - Produces an iterator that yields iteraors yielding
Rects for each selected character in each line of text within the given iterator yielding charRects.
Type Aliases
- The half of the width of some character (used within
CharXs). - Some position along the X axis (used within
CharXs).