mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-24 17:18:07 +02:00
shadingFill placeholder
This commit is contained in:
parent
c1758ea66f
commit
3674f38fdd
1 changed files with 12 additions and 0 deletions
12
pdf.js
12
pdf.js
|
@ -1625,6 +1625,8 @@ var Interpreter = (function() {
|
|||
rg: gfx.setFillRGBColor,
|
||||
|
||||
// Shading
|
||||
sh: gfx.shadingFill,
|
||||
|
||||
// Images
|
||||
// XObjects
|
||||
Do: gfx.paintXObject,
|
||||
|
@ -1820,6 +1822,10 @@ var EchoGraphics = (function() {
|
|||
},
|
||||
|
||||
// Shading
|
||||
shadingFill: function(entry) {
|
||||
this.printdentln("/"+ entry.name +" sh");
|
||||
},
|
||||
|
||||
// Images
|
||||
// XObjects
|
||||
paintXObject: function(obj) {
|
||||
|
@ -2048,6 +2054,11 @@ var CanvasGraphics = (function() {
|
|||
this.ctx.fillStyle = this.makeCssRgb(r, g, b);
|
||||
},
|
||||
|
||||
// Shading
|
||||
shadingFill: function(entry) {
|
||||
// TODO
|
||||
},
|
||||
|
||||
// XObjects
|
||||
paintXObject: function(obj) {
|
||||
// TODO
|
||||
|
@ -2270,6 +2281,7 @@ var tests = [
|
|||
int(1), int(0), int(0), cmd("SC"),
|
||||
int(1), cmd("sc"),
|
||||
name("object"), cmd("Do"),
|
||||
name("shading"), cmd("sh"),
|
||||
eof()
|
||||
],
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue