pub type VarAffine2x3<'a> = TableRef<'a, VarAffine2x3Marker>;
Expand description
VarAffine2x3 record
Aliased Type§
struct VarAffine2x3<'a> { /* private fields */ }
Implementations§
Source§impl<'a> VarAffine2x3<'a>
impl<'a> VarAffine2x3<'a>
Sourcepub fn xx(&self) -> Fixed
pub fn xx(&self) -> Fixed
x-component of transformed x-basis vector. For variation, use varIndexBase + 0.
Sourcepub fn yx(&self) -> Fixed
pub fn yx(&self) -> Fixed
y-component of transformed x-basis vector. For variation, use varIndexBase + 1.
Sourcepub fn xy(&self) -> Fixed
pub fn xy(&self) -> Fixed
x-component of transformed y-basis vector. For variation, use varIndexBase + 2.
Sourcepub fn yy(&self) -> Fixed
pub fn yy(&self) -> Fixed
y-component of transformed y-basis vector. For variation, use varIndexBase + 3.
Sourcepub fn var_index_base(&self) -> u32
pub fn var_index_base(&self) -> u32
Base index into DeltaSetIndexMap.
Source§impl<'a, T> TableRef<'a, T>
impl<'a, T> TableRef<'a, T>
Sourcepub fn resolve_offset<O: Offset, R: FontRead<'a>>(
&self,
offset: O,
) -> Result<R, ReadError>
pub fn resolve_offset<O: Offset, R: FontRead<'a>>( &self, offset: O, ) -> Result<R, ReadError>
Resolve the provided offset from the start of this table.
Sourcepub fn offset_data(&self) -> FontData<'a>
pub fn offset_data(&self) -> FontData<'a>
Return a reference to this table’s raw data.
We use this in the compile crate to resolve offsets.