Skip to content
Permalink
Browse files

Make arc() use `anticlockwise` argument

  • Loading branch information
pylbrecht committed Dec 2, 2019
1 parent da9b4c3 commit 02e33254167116284fb89501921919f165536650
Showing with 2 additions and 1 deletion.
  1. +2 −1 components/canvas/raqote_backend.rs
@@ -492,9 +492,10 @@ impl GenericPathBuilder for PathBuilder {
mut end_angle: f32,
anticlockwise: bool,
) {
if anticlockwise {
if (anticlockwise && end_angle > 0.) || (!anticlockwise && end_angle < 0.) {
end_angle = -end_angle;
}

self.0
.as_mut()
.unwrap()

0 comments on commit 02e3325

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