Canvas: Change default fill-rule to nonzero
This commit is contained in:
parent
a3a40af860
commit
f0927fc06d
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue