Type Alias BaseCoordFormat2

Source
pub type BaseCoordFormat2<'a> = TableRef<'a, BaseCoordFormat2Marker>;
Expand description

Aliased Type§

pub struct BaseCoordFormat2<'a> { /* private fields */ }

Implementations§

Source§

impl<'a> BaseCoordFormat2<'a>

Source

pub fn base_coord_format(&self) -> u16

Format identifier — format = 2

Source

pub fn coordinate(&self) -> i16

X or Y value, in design units

Source

pub fn reference_glyph(&self) -> u16

Glyph ID of control glyph

Source

pub fn base_coord_point(&self) -> u16

Index of contour point on the reference glyph

Trait Implementations§

Source§

impl<'a> FontRead<'a> for BaseCoordFormat2<'a>

Source§

fn read(data: FontData<'a>) -> Result<Self, ReadError>

Read an instance of Self from the provided data, performing validation. Read more