Trait read_fonts::tables::glyf::PointCoord
source · pub trait PointCoord: Copy + Default + AnyBitPattern + PartialEq + PartialOrd + Add<Output = Self> + AddAssign + Sub<Output = Self> + Div<Output = Self> + Mul<Output = Self> + MulAssign {
// Required methods
fn from_fixed(x: Fixed) -> Self;
fn from_i32(x: i32) -> Self;
fn to_f32(self) -> f32;
fn midpoint(self, other: Self) -> Self;
}
Expand description
Trait for types that are usable for TrueType point coordinates.
Required Methods§
fn from_fixed(x: Fixed) -> Self
fn from_i32(x: i32) -> Self
fn to_f32(self) -> f32
fn midpoint(self, other: Self) -> Self
Object Safety§
This trait is not object safe.