From d1e1dbfc143997a8266a454bd9f8a2878d3d71c8 Mon Sep 17 00:00:00 2001 From: Jani Pehkonen Date: Tue, 9 Jan 2018 19:42:12 +0200 Subject: [PATCH] Implement `closeEOFillStroke` in SVG backend --- src/display/svg.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/display/svg.js b/src/display/svg.js index 16f3bc228..2b5b9a5e5 100644 --- a/src/display/svg.js +++ b/src/display/svg.js @@ -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;