]> git.mxchange.org Git - flightgear.git/commitdiff
Canvas: Change default fill-rule to nonzero
authorThomas Geymayer <tomgey@gmail.com>
Thu, 20 Sep 2012 22:42:21 +0000 (00:42 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Thu, 20 Sep 2012 22:42:21 +0000 (00:42 +0200)
src/Canvas/elements/path.cxx

index bf800e076c5b5f11907e2fd3d3747bcb8dcc165b..02e616348ae72925ccdb6063b0d61f4e985a0445 100644 (file)
@@ -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