Type Alias read_fonts::tables::gdef::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> Debug for AttachPoint<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

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

source§

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

Read an instace of Self from the provided data, performing validation. Read more
source§

impl<'a> SomeTable<'a> for AttachPoint<'a>

source§

fn type_name(&self) -> &str

The name of this table
source§

fn get_field(&self, idx: usize) -> Option<Field<'a>>

Access this table’s fields, in declaration order.