Expand description

Logic and types specific to individual glyph layout.

Structs

An iterator yielding the Rect for each char’s Glyph in the given text.

An iterator that, for every (line, line_rect) pair yielded by the given iterator, produces an iterator that yields a Rect for every character in that line.

Yields a Rect for 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 char Rects.

Functions

Find the index of the character that directly follows the cursor at the given cursor_idx.

Produce an iterator that, for every (line, line_rect) pair yielded by the given iterator, produces an iterator that yields a Rect for every character in that line.

Produces an iterator that yields iterators yielding Rects for each selected character in each line of text within the given iterator yielding char Rects.

Type Definitions

The half of the width of some character (used within CharXs).

Some position along the X axis (used within CharXs).