mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Merge pull request #9350 from janpe2/svg-closeEOFillStroke
Implement `closeEOFillStroke` in SVG backend
This commit is contained in:
commit
5a52ee0a79
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue