Function imageproc::drawing::draw_cubic_bezier_curve
source · pub fn draw_cubic_bezier_curve<I>(
image: &I,
start: (f32, f32),
end: (f32, f32),
control_a: (f32, f32),
control_b: (f32, f32),
color: I::Pixel
) -> Image<I::Pixel>where
I: GenericImage,
I::Pixel: 'static,
Expand description
Draws as much of a cubic bezier curve as lies within image bounds.