Type Alias read_fonts::tables::variations::VariationRegionList

source ·
pub type VariationRegionList<'a> = TableRef<'a, VariationRegionListMarker>;
Expand description

Aliased Type§

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

Implementations§

source§

impl<'a> VariationRegionList<'a>

source

pub fn axis_count(&self) -> u16

The number of variation axes for this font. This must be the same number as axisCount in the ‘fvar’ table.

source

pub fn region_count(&self) -> u16

The number of variation region tables in the variation region list. Must be less than 32,768.

source

pub fn variation_regions(&self) -> ComputedArray<'a, VariationRegion<'a>>

Array of variation regions.

Trait Implementations§

source§

impl<'a> Debug for VariationRegionList<'a>

source§

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

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

impl<'a> FontRead<'a> for VariationRegionList<'a>

source§

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

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

impl<'a> SomeTable<'a> for VariationRegionList<'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.