Module conrod::text
[−]
[src]
Text layout logic.
Modules
| cursor |
Logic related to the positioning of the cursor within text. |
| font |
The |
| glyph |
Logic and types specific to individual glyph layout. |
| line |
Text handling logic related to individual lines of text. |
| rt |
Re-exported RustType geometrical types. |
Structs
| Glyph |
A single glyph of a font. this may either be a thin wrapper referring to the font and the glyph id, or it may be a standalone glyph that owns the data needed by it. |
| GlyphCache |
An implementation of a dynamic GPU glyph cache. See the module documentation for more information. |
| GlyphId |
Represents a glyph identifier for a particular font. This identifier will not necessarily correspond to the correct glyph in a font other than the one that it was obtained from. |
| GlyphIter | |
| LayoutIter | |
| Lines |
An iterator yielding each line within the given |
| Scale |
Defines the size of a rendered face of a font, in pixels, horizontally and vertically. A vertical
scale of |
Functions
| height |
Determine the total height of a block of text with the given number of lines, font size and
|
| lines |
Produce an iterator yielding each line within the given |
| pt_to_px |
Converts the given font size in "points" to its font size in pixels. |
| pt_to_scale |
Converts the given font size in "points" to a uniform |
Type Definitions
| Font |
The RustType |
| FontCollection |
The RustType |
| PositionedGlyph |
The RustType |