Trait glifparser::PointLike

source ·
pub trait PointLike: IsValid {
    fn x(&self) -> IntegerOrFloat;
    fn y(&self) -> IntegerOrFloat;
    fn set_x(&mut self, x: IntegerOrFloat);
    fn set_y(&mut self, y: IntegerOrFloat);

    fn x32(&self) -> f32 { ... }
    fn y32(&self) -> f32 { ... }
    fn x64(&self) -> f64 { ... }
    fn y64(&self) -> f64 { ... }
    fn as_kpoint(&self) -> KurboPoint { ... }
}

Required Methods§

Provided Methods§

Trait Implementations§

Converts this type into the (usually inferred) input type.

Implementors§