pub type GlyphVariationData<'a> = TupleVariationData<'a, GlyphDelta>;
Expand description
Variation data specialized for the glyph variations table.
Aliased Type§
struct GlyphVariationData<'a> { /* private fields */ }
Implementations
Source§impl<'a, T> TupleVariationData<'a, T>where
T: TupleDelta + 'a,
impl<'a, T> TupleVariationData<'a, T>where
T: TupleDelta + 'a,
pub fn tuples(&self) -> TupleVariationIter<'a, T> ⓘ
Sourcepub fn active_tuples_at(
&self,
coords: &'a [F2Dot14],
) -> impl Iterator<Item = (TupleVariation<'a, T>, Fixed)> + 'a
pub fn active_tuples_at( &self, coords: &'a [F2Dot14], ) -> impl Iterator<Item = (TupleVariation<'a, T>, Fixed)> + 'a
Returns an iterator over all of the pairs of (variation tuple, scalar) for this glyph that are active for the given set of normalized coordinates.
Trait Implementations
Source§impl<'a, T: Clone> Clone for TupleVariationData<'a, T>
impl<'a, T: Clone> Clone for TupleVariationData<'a, T>
Source§fn clone(&self) -> TupleVariationData<'a, T>
fn clone(&self) -> TupleVariationData<'a, T>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more