Expand description
Everything related to text, fonts, text layout, cursors etc.
Modules§
- cursor
- Different types of text cursors, i.e. ways to point into a
super::Galley
.
Structs§
- Font
Data - A
.ttf
or.otf
file and a font face index. - Font
Definitions - Describes the font data and the sizes to use.
- FontId
- How to select a sized font.
- Font
Insert - Font
Tweak - Extra scale and vertical tweak to apply to all text of a certain font.
- Fonts
- The collection of fonts used by
epaint
. - Fonts
Impl - The collection of fonts used by
epaint
. - Galley
- Text that has been laid out, ready for painting.
- Glyph
- Insert
Font Family - Layout
Job - Describes the task of laying out text.
- Layout
Section - Row
- RowVisuals
- The tessellated output of a row.
- Text
Format - Formatting option for a section of text.
- Text
Wrapping - Controls the text wrapping and elision of a
LayoutJob
.
Enums§
- Font
Family - Font of unknown size.
- Font
Priority - Text
Wrap Mode - How to wrap and elide text.
Constants§
- PASSWORD_
REPLACEMENT_ CHAR - Suggested character to use to replace those in password text fields.
- TAB_
SIZE - One
\t
character is this many spaces wide.