pub type Axis<'a> = TableRef<'a, AxisMarker>;
Expand description
Aliased Type§
struct Axis<'a> { /* private fields */ }
Implementations§
Source§impl<'a> Axis<'a>
impl<'a> Axis<'a>
Sourcepub fn base_tag_list_offset(&self) -> Nullable<Offset16>
pub fn base_tag_list_offset(&self) -> Nullable<Offset16>
Offset to BaseTagList table, from beginning of Axis table (may be NULL)
Sourcepub fn base_tag_list(&self) -> Option<Result<BaseTagList<'a>, ReadError>>
pub fn base_tag_list(&self) -> Option<Result<BaseTagList<'a>, ReadError>>
Attempt to resolve base_tag_list_offset
.
Sourcepub fn base_script_list_offset(&self) -> Offset16
pub fn base_script_list_offset(&self) -> Offset16
Offset to BaseScriptList table, from beginning of Axis table
Sourcepub fn base_script_list(&self) -> Result<BaseScriptList<'a>, ReadError>
pub fn base_script_list(&self) -> Result<BaseScriptList<'a>, ReadError>
Attempt to resolve base_script_list_offset
.
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.