Skip to content

Commit

Permalink
Fix fill_even_odd behavior on Core Graphics (#561)
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve-xmh committed Feb 25, 2024
1 parent 30813de commit 02eb5f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion piet-coregraphics/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ impl<'a> RenderContext for CoreGraphicsContext<'a> {
match brush.as_ref() {
Brush::Solid(color) => {
self.set_fill_color(*color);
self.ctx.fill_path();
self.ctx.eo_fill_path();
}
Brush::Gradient(grad) => {
self.ctx.save();
Expand Down

0 comments on commit 02eb5f0

Please sign in to comment.