Expand description
Logic and types specific to individual glyph layout.
Structs
- An iterator yielding the
Rect
for eachchar
’sGlyph
in the giventext
. - An iterator that, for every
(line, line_rect)
pair yielded by the given iterator, produces an iterator that yields aRect
for every character in that line. - Yields a
Rect
for each selected character in a single line of text. - Yields an iteraor yielding
Rect
s for each selected character in each line of text within the given iterator yielding charRect
s.
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 aRect
for every character in that line. - Produces an iterator that yields iteraors yielding
Rect
s for each selected character in each line of text within the given iterator yielding charRect
s.
Type Aliases
- The half of the width of some character (used within
CharXs
). - Some position along the X axis (used within
CharXs
).