read_fonts::tables::ankr

Type Alias GlyphDataEntry

Source
pub type GlyphDataEntry<'a> = TableRef<'a, GlyphDataEntryMarker>;

Aliased Type§

struct GlyphDataEntry<'a> { /* private fields */ }

Implementations§

Source§

impl<'a> GlyphDataEntry<'a>

Source

pub fn num_points(&self) -> u32

Number of anchor points for this glyph.

Source

pub fn anchor_points(&self) -> &'a [AnchorPoint]

Individual anchor points.

Trait Implementations§

Source§

impl<'a> FontRead<'a> for GlyphDataEntry<'a>

Source§

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

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