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).


Font selection and loading

Parsers for formatted text

Support for rastering glyphs


Scale factor: pixels per font unit

Effect formatting marker

Text effects

Environment flags

Environment in which text is prepared for display

A positioned glyph

A type-safe wrapper for glyph ID.

Used to return the position of a glyph with associated metrics

An iterator over a Vec which clones elements

Range type

Text, prepared for display in a given enviroment

Text display, without source text representation

Helper to modify an environment

2D vector (position/size/offset) over f32


Describes required text-preparation actions

Alignment of contents

Directionality of environment


Trait over a sub-set of Text functionality for editable text

Trait over a sub-set of Text functionality

Extension trait over TextApi