Merge pull request #9350 from janpe2/svg-closeEOFillStroke

Implement `closeEOFillStroke` in SVG backend
This commit is contained in:
Jonas Jenwald 2018-01-09 21:09:11 +01:00 committed by GitHub
commit 5a52ee0a79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;