Struct ilmenite::bitmap::ImtGlyphBitmap
source · pub struct ImtGlyphBitmap { /* private fields */ }
Expand description
Data is Linear RGBA
Implementations§
source§impl ImtGlyphBitmap
impl ImtGlyphBitmap
pub fn new( parser: &ImtParser, parsed: Arc<ImtParsedGlyph>, text_height: f32, raster_opts: &ImtRasterOpts ) -> ImtGlyphBitmap
pub fn data(&self) -> Option<ImtBitmapData>
pub fn metrics(&self) -> ImtBitmapMetrics
Trait Implementations§
source§impl Clone for ImtGlyphBitmap
impl Clone for ImtGlyphBitmap
source§fn clone(&self) -> ImtGlyphBitmap
fn clone(&self) -> ImtGlyphBitmap
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ImtGlyphBitmap
impl Send for ImtGlyphBitmap
impl Sync for ImtGlyphBitmap
impl Unpin for ImtGlyphBitmap
impl !UnwindSafe for ImtGlyphBitmap
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