Module conrod::text [] [src]

Text layout logic.

Modules

char

Logic and types specific to individual character layout.

cursor

Logic related to the positioning of the cursor within text.

line

Text handling logic related to individual lines of text.

Structs

Lines

An iterator yielding each line within the given text as a new &str, where the start and end indices into each line are provided by the given iterator.

Functions

height

Determine the total height of a block of text with the given number of lines, font size and line_spacing (the space that separates each line of text).

lines

Produce an iterator yielding each line within the given text as a new &str, where the start and end indices into each line are provided by the given iterator.