Struct allsorts::bitmap::BitmapGlyph [−][src]
pub struct BitmapGlyph { pub ppem_x: Option<u16>, pub ppem_y: Option<u16>, pub metrics: Metrics, pub bitmap: Bitmap, }
Expand description
A bitmap glyph with metrics.
Fields
ppem_x: Option<u16>
Horizontal pixels per em.
Will be None
if image data is a vector image.
ppem_y: Option<u16>
Vertical pixels per em.
Will be None
if image data is a vector image.
metrics: Metrics
Glyph metrics in pixels.
bitmap: Bitmap
Bitmap data.
Trait Implementations
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Performs the conversion.
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for BitmapGlyph
impl Send for BitmapGlyph
impl Sync for BitmapGlyph
impl Unpin for BitmapGlyph
impl UnwindSafe for BitmapGlyph