pub type Varc<'a> = TableRef<'a, VarcMarker>;
Expand description
VARC (Variable Composites / Components Table)
Aliased Type§
struct Varc<'a> { /* private fields */ }
Implementations§
Source§impl<'a> Varc<'a>
impl<'a> Varc<'a>
Sourcepub fn version(&self) -> MajorMinor
pub fn version(&self) -> MajorMinor
Major/minor version number. Set to 1.0.
pub fn coverage_offset(&self) -> Offset32
Sourcepub fn coverage(&self) -> Result<CoverageTable<'a>, ReadError>
pub fn coverage(&self) -> Result<CoverageTable<'a>, ReadError>
Attempt to resolve coverage_offset
.
pub fn multi_var_store_offset(&self) -> Nullable<Offset32>
Sourcepub fn multi_var_store(
&self,
) -> Option<Result<MultiItemVariationStore<'a>, ReadError>>
pub fn multi_var_store( &self, ) -> Option<Result<MultiItemVariationStore<'a>, ReadError>>
Attempt to resolve multi_var_store_offset
.
pub fn condition_list_offset(&self) -> Nullable<Offset32>
Sourcepub fn condition_list(&self) -> Option<Result<ConditionList<'a>, ReadError>>
pub fn condition_list(&self) -> Option<Result<ConditionList<'a>, ReadError>>
Attempt to resolve condition_list_offset
.
pub fn axis_indices_list_offset(&self) -> Nullable<Offset32>
Sourcepub fn axis_indices_list(&self) -> Option<Result<Index2<'a>, ReadError>>
pub fn axis_indices_list(&self) -> Option<Result<Index2<'a>, ReadError>>
Attempt to resolve axis_indices_list_offset
.
pub fn var_composite_glyphs_offset(&self) -> Offset32
Sourcepub fn var_composite_glyphs(&self) -> Result<Index2<'a>, ReadError>
pub fn var_composite_glyphs(&self) -> Result<Index2<'a>, ReadError>
Attempt to resolve var_composite_glyphs_offset
.
Source§impl<'a> Varc<'a>
impl<'a> Varc<'a>
Sourcepub fn axis_indices(&self, nth: usize) -> Result<PackedDeltas<'_>, ReadError>
pub fn axis_indices(&self, nth: usize) -> Result<PackedDeltas<'_>, ReadError>
Friendlier accessor than directly using raw data via Index2