Type Alias AnchorFormat2

Source
pub type AnchorFormat2<'a> = TableRef<'a, AnchorFormat2Marker>;
Expand description

Anchor Table Format 2: Design Units Plus Contour Point

Aliased Type§

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

Implementations§

Source§

impl<'a> AnchorFormat2<'a>

Source

pub fn anchor_format(&self) -> u16

Format identifier, = 2

Source

pub fn x_coordinate(&self) -> i16

Horizontal value, in design units

Source

pub fn y_coordinate(&self) -> i16

Vertical value, in design units

Source

pub fn anchor_point(&self) -> u16

Index to glyph contour point

Trait Implementations§

Source§

impl<'a> FontRead<'a> for AnchorFormat2<'a>

Source§

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

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