Struct swash::BitmapStrike [−][src]
pub struct BitmapStrike<'a> { /* fields omitted */ }
Collection of bitmaps of a specific size and format.
Implementations
impl<'a> BitmapStrike<'a>
[src]
impl<'a> BitmapStrike<'a>
[src]pub fn ppi(&self) -> u16
[src]
Returns the device pixel density for which the strike was designed.
pub fn bit_depth(&self) -> u8
[src]
Returns the bit depth of the strike.
pub fn ppem(&self) -> u16
[src]
Returns the size of the strike in pixels per em.
pub fn contains(&self, glyph_id: GlyphId) -> bool
[src]
Returns true if the specified glyph is covered by the strike.
Trait Implementations
impl<'a> Clone for BitmapStrike<'a>
[src]
impl<'a> Clone for BitmapStrike<'a>
[src]fn clone(&self) -> BitmapStrike<'a>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Copy for BitmapStrike<'a>
[src]
impl<'a> Copy for BitmapStrike<'a>
[src]Auto Trait Implementations
impl<'a> RefUnwindSafe for BitmapStrike<'a>
impl<'a> RefUnwindSafe for BitmapStrike<'a>
impl<'a> Send for BitmapStrike<'a>
impl<'a> Send for BitmapStrike<'a>
impl<'a> Sync for BitmapStrike<'a>
impl<'a> Sync for BitmapStrike<'a>
impl<'a> Unpin for BitmapStrike<'a>
impl<'a> Unpin for BitmapStrike<'a>
impl<'a> UnwindSafe for BitmapStrike<'a>
impl<'a> UnwindSafe for BitmapStrike<'a>