pub struct OutlinePoint {
pub is_on_curve: bool,
pub point: Point,
}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: PointTrait Implementations§
Source§impl Clone for OutlinePoint
impl Clone for OutlinePoint
Source§fn clone(&self) -> OutlinePoint
fn clone(&self) -> OutlinePoint
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 OutlinePoint
impl Debug for OutlinePoint
Source§impl<'a> ExtendFromInternalIterator<OutlinePoint> for ContourBuilder<'a>
impl<'a> ExtendFromInternalIterator<OutlinePoint> for ContourBuilder<'a>
Source§fn 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.Source§impl PartialEq for OutlinePoint
impl PartialEq for OutlinePoint
Source§impl 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 Freeze for OutlinePoint
impl RefUnwindSafe for OutlinePoint
impl Send for OutlinePoint
impl Sync for OutlinePoint
impl Unpin for OutlinePoint
impl UnwindSafe for OutlinePoint
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