Struct makepad_vector::font::OutlinePoint
source · [−]Expand description
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: bool
point: Point
Trait Implementations
sourceimpl Clone for OutlinePoint
impl Clone for OutlinePoint
sourcefn clone(&self) -> OutlinePoint
fn clone(&self) -> OutlinePoint
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for OutlinePoint
impl Debug for OutlinePoint
sourceimpl<'a> ExtendFromInternalIterator<OutlinePoint> for ContourBuilder<'a>
impl<'a> ExtendFromInternalIterator<OutlinePoint> for ContourBuilder<'a>
sourcefn extend_from_internal_iter<I>(&mut self, internal_iter: I)where
I: IntoInternalIterator<Item = OutlinePoint>,
fn extend_from_internal_iter<I>(&mut self, internal_iter: I)where
I: IntoInternalIterator<Item = OutlinePoint>,
Extends
self
with each item of internal_iter
.sourceimpl PartialEq<OutlinePoint> for OutlinePoint
impl PartialEq<OutlinePoint> for OutlinePoint
sourcefn eq(&self, other: &OutlinePoint) -> bool
fn eq(&self, other: &OutlinePoint) -> bool
sourceimpl Transform for OutlinePoint
impl Transform for OutlinePoint
fn transform<T>(self, t: &T) -> OutlinePointwhere
T: Transformation,
fn transform_mut<T>(&mut self, t: &T)where
T: Transformation,
impl Copy for OutlinePoint
impl StructuralPartialEq for OutlinePoint
Auto Trait Implementations
impl RefUnwindSafe for OutlinePoint
impl Send for OutlinePoint
impl Sync for OutlinePoint
impl Unpin for OutlinePoint
impl UnwindSafe for OutlinePoint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more