pub(crate) struct OutlinePath {
pub(crate) path: BezPath,
}Fields§
§path: BezPathImplementations§
Trait Implementations§
Source§impl Clone for OutlinePath
impl Clone for OutlinePath
Source§fn clone(&self) -> OutlinePath
fn clone(&self) -> OutlinePath
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for OutlinePath
impl Default for OutlinePath
Source§fn default() -> OutlinePath
fn default() -> OutlinePath
Returns the “default value” for a type. Read more
Source§impl OutlinePen for OutlinePath
impl OutlinePen for OutlinePath
Source§fn curve_to(&mut self, cx0: f32, cy0: f32, cx1: f32, cy1: f32, x: f32, y: f32)
fn curve_to(&mut self, cx0: f32, cy0: f32, cx1: f32, cy1: f32, x: f32, y: f32)
Emit a cubic bezier segment from the current point with control
points at (cx0, cy0) and (cx1, cy1) and ending at (x, y).
Auto Trait Implementations§
impl Freeze for OutlinePath
impl RefUnwindSafe for OutlinePath
impl Send for OutlinePath
impl Sync for OutlinePath
impl Unpin for OutlinePath
impl UnsafeUnpin for OutlinePath
impl UnwindSafe for OutlinePath
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<P> CommandSink for Pwhere
P: OutlinePen,
impl<P> CommandSink for Pwhere
P: OutlinePen,
fn move_to(&mut self, x: Fixed, y: Fixed)
fn line_to(&mut self, x: Fixed, y: Fixed)
fn curve_to( &mut self, cx0: Fixed, cy0: Fixed, cx1: Fixed, cy1: Fixed, x: Fixed, y: Fixed, )
fn close(&mut self)
Source§fn hint_mask(&mut self, mask: &[u8])
fn hint_mask(&mut self, mask: &[u8])
Bitmask defining the hints that should be made active for the
commands that follow.
Source§fn counter_mask(&mut self, mask: &[u8])
fn counter_mask(&mut self, mask: &[u8])
Bitmask defining the counter hints that should be made active for the
commands that follow.
Source§fn clear_hints(&mut self)
fn clear_hints(&mut self)
Clear accumulated stem hints and all data derived from them.