mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 10:15:37 +02:00
Introduce paintSolidColorImageMask command to handle 1x1 solid image masks
See https://github.com/mozilla/pdf.js/issues/4436 for details
This commit is contained in:
parent
1a6e103c35
commit
fc9edfcf76
3 changed files with 27 additions and 1 deletions
|
@ -2128,6 +2128,11 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
|
|||
}
|
||||
},
|
||||
|
||||
paintSolidColorImageMask:
|
||||
function CanvasGraphics_paintSolidColorImageMask() {
|
||||
this.ctx.fillRect(0, 0, 1, 1);
|
||||
},
|
||||
|
||||
// Marked content
|
||||
|
||||
markPoint: function CanvasGraphics_markPoint(tag) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue