mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Finishing SMask at the end of operators list.
This commit is contained in:
parent
1485c1d1da
commit
63f62a0e53
1 changed files with 5 additions and 0 deletions
|
@ -870,6 +870,11 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
|
|||
},
|
||||
|
||||
endDrawing: function CanvasGraphics_endDrawing() {
|
||||
// Finishing all opened operations such as SMask group painting.
|
||||
if (this.current.activeSMask !== null) {
|
||||
this.endSMaskGroup();
|
||||
}
|
||||
|
||||
this.ctx.restore();
|
||||
|
||||
if (this.transparentCanvas) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue