Skip to content
Permalink
Browse files

Ensure subpath for control point in quadratic_curve_to()

  • Loading branch information
pylbrecht committed Jan 6, 2020
1 parent f691acd commit ce48a51e997a75be4533051e2bf544358be76486
@@ -771,6 +771,9 @@ impl<'a> CanvasData<'a> {
}

pub fn quadratic_curve_to(&mut self, cp: &Point2D<f32>, endpoint: &Point2D<f32>) {
if self.path_builder().current_point().is_none() {
self.path_builder().move_to(cp);
}
self.path_builder().quadratic_curve_to(cp, endpoint);
}

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit ce48a51

Please sign in to comment.
You can’t perform that action at this time.