read_fonts::tables::gvar

Type Alias SharedTuples

Source
pub type SharedTuples<'a> = TableRef<'a, SharedTuplesMarker>;
Expand description

Array of tuple records shared across all glyph variation data tables.

Aliased Type§

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

Implementations§

Source§

impl<'a> SharedTuples<'a>

Source

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

A constructor that requires additional arguments.

This type requires some external state in order to be parsed.

Source§

impl<'a> SharedTuples<'a>

Source

pub fn tuples(&self) -> ComputedArray<'a, Tuple<'a>>

Trait Implementations§

Source§

impl<'a> FontReadWithArgs<'a> for SharedTuples<'a>

Source§

fn read_with_args( data: FontData<'a>, args: &(u16, u16), ) -> Result<Self, ReadError>

read an item, using the provided args. Read more
Source§

impl ReadArgs for SharedTuples<'_>

Source§

type Args = (u16, u16)