Crate limn_text_layout [−] [src]
Text layout logic.
Reexports
pub use types::Align; |
Modules
cursor | |
glyph | |
line | |
types |
Structs
Lines |
An iterator yielding each line within the given |
Enums
Wrap |
The way in which text should wrap around the width. |
Functions
get_line_rects | |
get_positioned_glyphs | |
get_text_height | |
get_text_size | |
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. assumes 96 dpi display. 1 pt = 1/72" |
pt_to_scale |
Converts the given font size in "points" to a uniform |
px_to_pt |
Type Definitions
Font | |
PositionedGlyph |
The RustType |