Crate kas_text[−][src]
Expand description
KAS-text: text layout library
KAS-text supports plain text input, custom formatted text objects (see the
format module) and a subset of Markdown (format::Markdown,
feature-gated).
The library also supports glyph rastering (depending on feature flags).
Modules
| fonts | Font selection and loading |
| format | Parsers for formatted text |
Structs
| Effect | Effect formatting marker |
| EffectFlags | Text effects |
| EnvFlags | Environment flags |
| Environment | Environment in which text is prepared for display |
| Glyph | A positioned glyph |
| GlyphId | A type-safe wrapper for glyph ID. |
| MarkerPos | Used to return the position of a glyph with associated metrics |
| MarkerPosIter | |
| OwningVecIter | An iterator over a |
| Range | Range type |
| Text | Text, prepared for display in a given enviroment |
| TextDisplay | Text display, without source text representation |
| UpdateEnv | Helper to modify an environment |
| Vec2 | 2D vector (position/size/offset) over |
Enums
| Action | Describes required text-preparation actions |
| Align | Alignment of contents |
| Direction | Directionality of environment |
Traits
| EditableTextApi | Trait over a sub-set of |
| TextApi | Trait over a sub-set of |
| TextApiExt | Extension trait over |