read_fonts::tables::varc

Type Alias MultiItemVariationStore

Source
pub type MultiItemVariationStore<'a> = TableRef<'a, MultiItemVariationStoreMarker>;
Expand description

Aliased Type§

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

Implementations§

Source§

impl<'a> MultiItemVariationStore<'a>

Source

pub fn format(&self) -> u16

Source

pub fn region_list_offset(&self) -> Offset32

Source

pub fn region_list(&self) -> Result<SparseVariationRegionList<'a>, ReadError>

Attempt to resolve region_list_offset.

Source

pub fn variation_data_count(&self) -> u16

Source

pub fn variation_data_offsets(&self) -> &'a [BigEndian<Offset32>]

Source

pub fn variation_data( &self, ) -> ArrayOfOffsets<'a, MultiItemVariationData<'a>, Offset32>

A dynamically resolving wrapper for variation_data_offsets.

Trait Implementations§

Source§

impl<'a> FontRead<'a> for MultiItemVariationStore<'a>

Source§

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

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