pub type Trak<'a> = TableRef<'a, TrakMarker>;
Expand description
The tracking (trak) table.
Aliased Type§
pub struct Trak<'a> { /* private fields */ }
Implementations§
Source§impl<'a> Trak<'a>
impl<'a> Trak<'a>
Sourcepub fn version(&self) -> MajorMinor
pub fn version(&self) -> MajorMinor
Version number of the tracking table (0x00010000 for the current version).
Sourcepub fn horiz_offset(&self) -> Nullable<Offset16>
pub fn horiz_offset(&self) -> Nullable<Offset16>
Offset from start of tracking table to TrackData for horizontal text (or 0 if none).
Sourcepub fn horiz(&self) -> Option<Result<TrackData<'a>, ReadError>>
pub fn horiz(&self) -> Option<Result<TrackData<'a>, ReadError>>
Attempt to resolve horiz_offset
.
Sourcepub fn vert_offset(&self) -> Nullable<Offset16>
pub fn vert_offset(&self) -> Nullable<Offset16>
Offset from start of tracking table to TrackData for vertical text (or 0 if none).