Implement closeEOFillStroke in SVG backend

This commit is contained in:
Jani Pehkonen 2018-01-09 19:42:12 +02:00
parent 915e3f4c5f
commit d1e1dbfc14

View File

@ -642,6 +642,9 @@ SVGGraphics = (function SVGGraphicsClosure() {
case OPS.closeFillStroke: case OPS.closeFillStroke:
this.closeFillStroke(); this.closeFillStroke();
break; break;
case OPS.closeEOFillStroke:
this.closeEOFillStroke();
break;
case OPS.nextLine: case OPS.nextLine:
this.nextLine(); this.nextLine();
break; break;
@ -1120,6 +1123,11 @@ SVGGraphics = (function SVGGraphicsClosure() {
this.fillStroke(); this.fillStroke();
}, },
closeEOFillStroke() {
this.closePath();
this.eoFillStroke();
},
paintSolidColorImageMask: paintSolidColorImageMask:
function SVGGraphics_paintSolidColorImageMask() { function SVGGraphics_paintSolidColorImageMask() {
var current = this.current; var current = this.current;