[][src]Struct makepad_font::OutlinePoint

pub struct OutlinePoint {
    pub is_on_curve: bool,
    pub point: Point,
}

A point in an outline.

An outline point is either on the curve or off the curve. If it is on the curve, it represents an endpoint of a quadratic b-spline curve segment. Otherwise, it represents a control point of a quadratic b-spline curve segment. Each quadratic b-spline curve segment has two endpoints and zero or more control points.

Fields

is_on_curve: boolpoint: Point

Trait Implementations

impl Clone for OutlinePoint[src]

impl Copy for OutlinePoint[src]

impl PartialEq<OutlinePoint> for OutlinePoint[src]

impl Debug for OutlinePoint[src]

impl StructuralPartialEq for OutlinePoint[src]

impl Transform for OutlinePoint[src]

impl<'a> ExtendFromInternalIterator<OutlinePoint> for ContourBuilder<'a>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]