Struct fit_text::Scribe [−][src]
pub struct Scribe<'a, C, G> {
pub format: TextFormat,
pub glyphs: &'a mut C,
pub transform: Matrix2d,
pub graphics: &'a mut G,
}
Expand description
A struct for writing text into multiple rectangles
Fields
format: TextFormat
The text format
glyphs: &'a mut C
The character cache
transform: Matrix2d
The transform
graphics: &'a mut G
The graphics abstraction being drawn to
Implementations
Write some text into a rectangle with the Scribe