TODO() for radial shading
This commit is contained in:
parent
0a74ec7759
commit
d32cbedd06
6
pdf.js
6
pdf.js
@ -3024,7 +3024,7 @@ var CanvasGraphics = (function() {
|
|||||||
var typeNum = shading.get("ShadingType");
|
var typeNum = shading.get("ShadingType");
|
||||||
var fillFn = types[typeNum];
|
var fillFn = types[typeNum];
|
||||||
if (!fillFn)
|
if (!fillFn)
|
||||||
error("Unknown type of shading");
|
error("Unknown or NYI type of shading '"+ typeNum +"'");
|
||||||
fillFn.apply(this, [shading]);
|
fillFn.apply(this, [shading]);
|
||||||
|
|
||||||
this.restore();
|
this.restore();
|
||||||
@ -3077,6 +3077,10 @@ var CanvasGraphics = (function() {
|
|||||||
this.ctx.fillRect(-1e10, -1e10, 2e10, 2e10);
|
this.ctx.fillRect(-1e10, -1e10, 2e10, 2e10);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
fillRadialShading: function(sh) {
|
||||||
|
TODO("radial shading");
|
||||||
|
},
|
||||||
|
|
||||||
// Images
|
// Images
|
||||||
beginInlineImage: function() {
|
beginInlineImage: function() {
|
||||||
TODO("inline images");
|
TODO("inline images");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user