pub struct Sbix<'a> {
pub flags: u16,
pub strikes: Vec<SbixStrike<'a>>,
}
Expand description
sbix
table containing bitmaps.
Fields
flags: u16
Drawing flags.
- Bit 0: Set to 1.
- Bit 1: Draw outlines.
- Bits 2 to 15: reserved (set to 0).
strikes: Vec<SbixStrike<'a>>
Bitmap data for different sizes.
Implementations
sourceimpl<'a> Sbix<'a>
impl<'a> Sbix<'a>
sourcepub fn find_strike(
&self,
glyph_index: u16,
target_ppem: u16,
_max_bit_depth: BitDepth
) -> Option<&SbixStrike<'a>>
pub fn find_strike(
&self,
glyph_index: u16,
target_ppem: u16,
_max_bit_depth: BitDepth
) -> Option<&SbixStrike<'a>>
Find a strike matching the desired parameters
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Sbix<'a>
impl<'a> Send for Sbix<'a>
impl<'a> Sync for Sbix<'a>
impl<'a> Unpin for Sbix<'a>
impl<'a> UnwindSafe for Sbix<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more