Module epaint::text

source ·
Expand description

Everything related to text, fonts, text layout, cursors etc.

Modules

Different types of text cursors, i.e. ways to point into a super::Galley.

Structs

A .ttf or .otf file and a font face index.
Describes the font data and the sizes to use.
How to select a sized font.
Extra scale and vertical tweak to apply to all text of a certain font.
The collection of fonts used by epaint.
The collection of fonts used by epaint.
Text that has been laid out, ready for painting.
Describes the task of laying out text.
The tessellated output of a row.

Enums

Font of unknown size.

Constants

Suggested character to use to replace those in password text fields.
One \t character is this many spaces wide.

Functions

Layout text into a Galley.