Type Alias read_fonts::tables::base::MinMax
source · pub type MinMax<'a> = TableRef<'a, MinMaxMarker>;
Expand description
MinMax table
Aliased Type§
struct MinMax<'a> { /* private fields */ }
Implementations§
source§impl<'a> MinMax<'a>
impl<'a> MinMax<'a>
sourcepub fn min_coord_offset(&self) -> Nullable<Offset16>
pub fn min_coord_offset(&self) -> Nullable<Offset16>
Offset to BaseCoord table that defines the minimum extent value, from the beginning of MinMax table (may be NULL)
sourcepub fn min_coord(&self) -> Option<Result<BaseCoord<'a>, ReadError>>
pub fn min_coord(&self) -> Option<Result<BaseCoord<'a>, ReadError>>
Attempt to resolve min_coord_offset
.
sourcepub fn max_coord_offset(&self) -> Nullable<Offset16>
pub fn max_coord_offset(&self) -> Nullable<Offset16>
Offset to BaseCoord table that defines maximum extent value, from the beginning of MinMax table (may be NULL)
sourcepub fn max_coord(&self) -> Option<Result<BaseCoord<'a>, ReadError>>
pub fn max_coord(&self) -> Option<Result<BaseCoord<'a>, ReadError>>
Attempt to resolve max_coord_offset
.
sourcepub fn feat_min_max_count(&self) -> u16
pub fn feat_min_max_count(&self) -> u16
Number of FeatMinMaxRecords — may be zero (0)
sourcepub fn feat_min_max_records(&self) -> &'a [FeatMinMaxRecord]
pub fn feat_min_max_records(&self) -> &'a [FeatMinMaxRecord]
Array of FeatMinMaxRecords, in alphabetical order by featureTableTag