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

Find a strike matching the desired parameters

Trait Implementations

Read the sbix table.

num_glyphs should be read from the maxp table.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.