Struct epaint::text::Fonts [−][src]
pub struct Fonts { /* fields omitted */ }
Expand description
The collection of fonts used by epaint
.
Implementations
Call each frame to get the latest available font texture data.
Width of this character in points.
Height of one row of text. In points
Will line break at \n
.
Always returns at least one row.
Typeset the given text onto one row.
Any \n
will show up as the replacement character.
Always returns exactly one Row
in the Galley
.
Most often you probably want \n
to produce a new row,
and so Self::layout_no_wrap
may be a better choice.
Will wrap text at the given width and line break at \n
.
Always returns at least one row.
first_row_indentation
: extra space before the very first character (in points).max_width_in_points
: wrapping width.
Always returns at least one row.