Struct makepad_widgets::makepad_vector::font::TTFFont
pub struct TTFFont {
pub units_per_em: f64,
pub ascender: f64,
pub descender: f64,
pub line_gap: f64,
pub bounds: Rectangle,
pub cached_decoded_glyphs: Vec<Option<Box<Glyph, Global>>, Global>,
}Expand description
A font.
Fields§
§units_per_em: f64§ascender: f64§descender: f64§line_gap: f64§bounds: Rectangle§cached_decoded_glyphs: Vec<Option<Box<Glyph, Global>>, Global>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TTFFont
impl Send for TTFFont
impl Sync for TTFFont
impl Unpin for TTFFont
impl UnwindSafe for TTFFont
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more