pub fn draw_cubic_bezier_curve_mut<C>(
canvas: &mut C,
start: (f32, f32),
end: (f32, f32),
control_a: (f32, f32),
control_b: (f32, f32),
color: C::Pixel,
)where
C: Canvas,
Expand description
Draws a cubic Bézier curve on an image in place.
Draws as much of the curve as lies within image bounds.