shadingFill placeholder
This commit is contained in:
parent
c1758ea66f
commit
3674f38fdd
12
pdf.js
12
pdf.js
@ -1625,6 +1625,8 @@ var Interpreter = (function() {
|
|||||||
rg: gfx.setFillRGBColor,
|
rg: gfx.setFillRGBColor,
|
||||||
|
|
||||||
// Shading
|
// Shading
|
||||||
|
sh: gfx.shadingFill,
|
||||||
|
|
||||||
// Images
|
// Images
|
||||||
// XObjects
|
// XObjects
|
||||||
Do: gfx.paintXObject,
|
Do: gfx.paintXObject,
|
||||||
@ -1820,6 +1822,10 @@ var EchoGraphics = (function() {
|
|||||||
},
|
},
|
||||||
|
|
||||||
// Shading
|
// Shading
|
||||||
|
shadingFill: function(entry) {
|
||||||
|
this.printdentln("/"+ entry.name +" sh");
|
||||||
|
},
|
||||||
|
|
||||||
// Images
|
// Images
|
||||||
// XObjects
|
// XObjects
|
||||||
paintXObject: function(obj) {
|
paintXObject: function(obj) {
|
||||||
@ -2048,6 +2054,11 @@ var CanvasGraphics = (function() {
|
|||||||
this.ctx.fillStyle = this.makeCssRgb(r, g, b);
|
this.ctx.fillStyle = this.makeCssRgb(r, g, b);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// Shading
|
||||||
|
shadingFill: function(entry) {
|
||||||
|
// TODO
|
||||||
|
},
|
||||||
|
|
||||||
// XObjects
|
// XObjects
|
||||||
paintXObject: function(obj) {
|
paintXObject: function(obj) {
|
||||||
// TODO
|
// TODO
|
||||||
@ -2270,6 +2281,7 @@ var tests = [
|
|||||||
int(1), int(0), int(0), cmd("SC"),
|
int(1), int(0), int(0), cmd("SC"),
|
||||||
int(1), cmd("sc"),
|
int(1), cmd("sc"),
|
||||||
name("object"), cmd("Do"),
|
name("object"), cmd("Do"),
|
||||||
|
name("shading"), cmd("sh"),
|
||||||
eof()
|
eof()
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user