Type Alias read_fonts::tables::variations::TupleVariationHeader
source · pub type TupleVariationHeader<'a> = TableRef<'a, TupleVariationHeaderMarker>;
Expand description
Aliased Type§
struct TupleVariationHeader<'a> { /* private fields */ }
Implementations§
source§impl<'a> TupleVariationHeader<'a>
impl<'a> TupleVariationHeader<'a>
source§impl<'a> TupleVariationHeader<'a>
impl<'a> TupleVariationHeader<'a>
sourcepub fn variation_data_size(&self) -> u16
pub fn variation_data_size(&self) -> u16
The size in bytes of the serialized data for this tuple variation table.
sourcepub fn tuple_index(&self) -> TupleIndex
pub fn tuple_index(&self) -> TupleIndex
A packed field. The high 4 bits are flags (see below). The low 12 bits are an index into a shared tuple records array.
source§impl<'a> TupleVariationHeader<'a>
impl<'a> TupleVariationHeader<'a>
sourcepub fn peak_tuple(&self) -> Option<Tuple<'a>>
pub fn peak_tuple(&self) -> Option<Tuple<'a>>
Peak tuple record for this tuple variation table — optional, determined by flags in the tupleIndex value. Note that this must always be included in the ‘cvar’ table.
sourcepub fn intermediate_start_tuple(&self) -> Option<Tuple<'a>>
pub fn intermediate_start_tuple(&self) -> Option<Tuple<'a>>
Intermediate start tuple record for this tuple variation table — optional, determined by flags in the tupleIndex value.
sourcepub fn intermediate_end_tuple(&self) -> Option<Tuple<'a>>
pub fn intermediate_end_tuple(&self) -> Option<Tuple<'a>>
Intermediate end tuple record for this tuple variation table — optional, determined by flags in the tupleIndex value.