pub enum HersheyFont {
Show 28 variants
Greekc,
Gothger,
Greekcs,
Japan,
Scripts,
Romans,
Greekp,
Music,
Symbol,
Astrol,
Scriptc,
Misc,
Italict,
Italicc,
Romancs,
Lowmat,
Meteo,
Gothita,
Uppmat,
Marker,
Gotheng,
Romanp,
Italiccs,
Romant,
Cyrilc,
Romanc,
Greeks,
Romand,
}Expand description
A specific Hershey font mapping file which defines a font in terms of symbol ranges (.hmp file).
Variants§
Greekc
Gothger
Greekcs
Japan
Scripts
Romans
Greekp
Music
Symbol
Astrol
Scriptc
Misc
Italict
Italicc
Romancs
Lowmat
Meteo
Gothita
Uppmat
Marker
Gotheng
Romanp
Italiccs
Romant
Cyrilc
Romanc
Greeks
Romand
Trait Implementations§
Source§impl Renderer<HersheyFont> for HersheyRenderer
impl Renderer<HersheyFont> for HersheyRenderer
Source§fn render_text(text: &str, font: HersheyFont) -> Vec<Point>
fn render_text(text: &str, font: HersheyFont) -> Vec<Point>
Render the given text string to a series of points,
using the given font mapping.
Auto Trait Implementations§
impl Freeze for HersheyFont
impl RefUnwindSafe for HersheyFont
impl Send for HersheyFont
impl Sync for HersheyFont
impl Unpin for HersheyFont
impl UnsafeUnpin for HersheyFont
impl UnwindSafe for HersheyFont
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