From f0927fc06dce5e393dcdce57859d2f85993b07b2 Mon Sep 17 00:00:00 2001 From: Thomas Geymayer Date: Fri, 21 Sep 2012 00:42:21 +0200 Subject: [PATCH] Canvas: Change default fill-rule to nonzero --- src/Canvas/elements/path.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Canvas/elements/path.cxx b/src/Canvas/elements/path.cxx index bf800e076..02e616348 100644 --- a/src/Canvas/elements/path.cxx +++ b/src/Canvas/elements/path.cxx @@ -207,6 +207,8 @@ namespace canvas if( _mode & VG_FILL_PATH ) { vgSetPaint(_paint_fill, VG_FILL_PATH); + + vgSetf(VG_FILL_RULE, VG_NON_ZERO); // TODO make user configurable } // And finally draw the path -- 2.39.5