pub(super) struct UnscaledPoint {
pub x: i16,
pub y: i16,
pub flags: PointFlags,
pub is_contour_start: bool,
}
Fields§
§x: i16
§y: i16
§flags: PointFlags
§is_contour_start: bool
Implementations§
Source§impl UnscaledPoint
impl UnscaledPoint
pub fn from_glyf_point( point: Point<F26Dot6>, flags: PointFlags, is_contour_start: bool, ) -> Self
pub fn is_on_curve(self) -> bool
Trait Implementations§
Source§impl Clone for UnscaledPoint
impl Clone for UnscaledPoint
Source§fn clone(&self) -> UnscaledPoint
fn clone(&self) -> UnscaledPoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UnscaledPoint
impl Debug for UnscaledPoint
Source§impl Default for UnscaledPoint
impl Default for UnscaledPoint
Source§fn default() -> UnscaledPoint
fn default() -> UnscaledPoint
Returns the “default value” for a type. Read more
impl Copy for UnscaledPoint
Auto Trait Implementations§
impl Freeze for UnscaledPoint
impl RefUnwindSafe for UnscaledPoint
impl Send for UnscaledPoint
impl Sync for UnscaledPoint
impl Unpin for UnscaledPoint
impl UnwindSafe for UnscaledPoint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more