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:
this.closeFillStroke();
break;
case OPS.closeEOFillStroke:
this.closeEOFillStroke();
break;
case OPS.nextLine:
this.nextLine();
break;
@ -1120,6 +1123,11 @@ SVGGraphics = (function SVGGraphicsClosure() {
this.fillStroke();
},
closeEOFillStroke() {
this.closePath();
this.eoFillStroke();
},
paintSolidColorImageMask:
function SVGGraphics_paintSolidColorImageMask() {
var current = this.current;