re: gfx.rectangle,
S: gfx.stroke,
f: gfx.fill,
+ "f*": gfx.eoFill,
B: gfx.fillStroke,
b: gfx.closeFillStroke,
n: gfx.endPath,
fill: function() {
this.printdentln("f");
},
+ eoFill: function() {
+ this.printdentln("f*");
+ },
fillStroke: function() {
this.printdentln("B");
},
this.ctx.fill();
this.consumePath();
},
+ eoFill: function() {
+ // TODO: <canvas> needs to support even-odd winding rule
+ this.fill();
+ },
fillStroke: function() {
this.ctx.fill();
this.ctx.stroke();