1
0
Fork 0

Canvas: Change default fill-rule to nonzero

This commit is contained in:
Thomas Geymayer 2012-09-21 00:42:21 +02:00
parent a3a40af860
commit f0927fc06d

View file

@ -207,6 +207,8 @@ namespace canvas
if( _mode & VG_FILL_PATH ) if( _mode & VG_FILL_PATH )
{ {
vgSetPaint(_paint_fill, 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 // And finally draw the path