pub struct Curve3Inc { /* private fields */ }Expand description
Incremental quadratic Bezier curve flattener using forward differences.
Port of C++ agg::curve3_inc.
Implementations§
Source§impl Curve3Inc
impl Curve3Inc
pub fn new() -> Self
pub fn new_with_points( x1: f64, y1: f64, x2: f64, y2: f64, x3: f64, y3: f64, ) -> Self
pub fn reset(&mut self)
pub fn init(&mut self, x1: f64, y1: f64, x2: f64, y2: f64, x3: f64, y3: f64)
pub fn set_approximation_scale(&mut self, s: f64)
pub fn approximation_scale(&self) -> f64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Curve3Inc
impl RefUnwindSafe for Curve3Inc
impl Send for Curve3Inc
impl Sync for Curve3Inc
impl Unpin for Curve3Inc
impl UnwindSafe for Curve3Inc
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