Type Alias read_fonts::tables::base::BaseCoordFormat3
source · pub type BaseCoordFormat3<'a> = TableRef<'a, BaseCoordFormat3Marker>;
Expand description
Aliased Type§
struct BaseCoordFormat3<'a> { /* private fields */ }
Implementations§
source§impl<'a> BaseCoordFormat3<'a>
impl<'a> BaseCoordFormat3<'a>
sourcepub fn base_coord_format(&self) -> u16
pub fn base_coord_format(&self) -> u16
Format identifier — format = 3
sourcepub fn coordinate(&self) -> i16
pub fn coordinate(&self) -> i16
X or Y value, in design units
sourcepub fn device_offset(&self) -> Nullable<Offset16>
pub fn device_offset(&self) -> Nullable<Offset16>
Offset to Device table (non-variable font) / Variation Index table (variable font) for X or Y value, from beginning of BaseCoord table (may be NULL).
sourcepub fn device(&self) -> Option<Result<DeviceOrVariationIndex<'a>, ReadError>>
pub fn device(&self) -> Option<Result<DeviceOrVariationIndex<'a>, ReadError>>
Attempt to resolve device_offset
.