[−][src]Struct crossfont::ft::FreeTypeRasterizer
Rasterizes glyphs for a single font face.
Trait Implementations
impl Rasterize for FreeTypeRasterizer
[src]
type Err = Error
Errors occurring in Rasterize methods.
fn new(device_pixel_ratio: f32, _: bool) -> Result<FreeTypeRasterizer, Error>
[src]
fn metrics(&self, key: FontKey, _size: Size) -> Result<Metrics, Error>
[src]
fn load_font(&mut self, desc: &FontDesc, size: Size) -> Result<FontKey, Error>
[src]
fn get_glyph(&mut self, glyph_key: GlyphKey) -> Result<RasterizedGlyph, Error>
[src]
fn update_dpr(&mut self, device_pixel_ratio: f32)
[src]
impl Send for FreeTypeRasterizer
[src]
Auto Trait Implementations
impl !RefUnwindSafe for FreeTypeRasterizer
impl !Sync for FreeTypeRasterizer
impl Unpin for FreeTypeRasterizer
impl !UnwindSafe for FreeTypeRasterizer
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,