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: 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;