Struct allsorts_no_std::bitmap::cbdt::BitmapInfo[][src]

pub struct BitmapInfo {
    pub hori: SbitLineMetrics,
    pub vert: SbitLineMetrics,
    pub start_glyph_index: u16,
    pub end_glyph_index: u16,
    pub ppem_x: u8,
    pub ppem_y: u8,
    pub bit_depth: BitDepth,
    pub flags: i8,
}

Subset of BitmapSize that includes common fields.

Fields

hori: SbitLineMetrics

Line metrics for text rendered horizontally.

vert: SbitLineMetrics

Line metrics for text rendered vertically.

start_glyph_index: u16

Lowest glyph index for this size.

end_glyph_index: u16

Highest glyph index for this size.

ppem_x: u8

Horizontal pixels per em.

ppem_y: u8

Vertical pixels per em.

bit_depth: BitDepth

Bit depth.

In addition to already defined bitDepth values 1, 2, 4, and 8 supported by EBDT the value of 32 is used to identify color bitmaps with 8 bit per channel RGBA channels in CBDT.

flags: i8

Vertical or horizontal.

Trait Implementations

impl Clone for BitmapInfo[src]

impl Debug for BitmapInfo[src]

impl Eq for BitmapInfo[src]

impl PartialEq<BitmapInfo> for BitmapInfo[src]

impl StructuralEq for BitmapInfo[src]

impl StructuralPartialEq for BitmapInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.