read_fonts::tables::gdef

Type Alias AttachPoint

Source
pub type AttachPoint<'a> = TableRef<'a, AttachPointMarker>;
Expand description

Part of AttachList

Aliased Type§

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

Implementations§

Source§

impl<'a> AttachPoint<'a>

Source

pub fn point_count(&self) -> u16

Number of attachment points on this glyph

Source

pub fn point_indices(&self) -> &'a [BigEndian<u16>]

Array of contour point indices -in increasing numerical order

Trait Implementations§

Source§

impl<'a> FontRead<'a> for AttachPoint<'a>

Source§

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

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