From: Thomas Geymayer Date: Thu, 20 Sep 2012 22:42:21 +0000 (+0200) Subject: Canvas: Change default fill-rule to nonzero X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f0927fc06dce5e393dcdce57859d2f85993b07b2;p=flightgear.git Canvas: Change default fill-rule to nonzero --- 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