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).
Re-exports§
pub extern crate fontdb;
Modules§
- Font selection and loading
- Parsers for formatted text
- Support for rastering glyphs
Structs§
- Scale factor: pixels per font unit
- Effect formatting marker
- Text effects
- A positioned glyph
- A type-safe wrapper for glyph ID.
- Used to return the position of a glyph with associated metrics
- Error returned on operations if not ready
- An iterator over a
Vec
which clones elements - Range type
- Text type-setting object (high-level API)
- Text type-setting object (low-level, without text and configuration)
- 2D vector (position/size/offset) over
f32
Enums§
- Alignment of contents
- Directionality of text
- Describes the state-of-preparation of a
TextDisplay