TODO() for radial shading

This commit is contained in:
Chris Jones 2011-06-22 02:17:45 -07:00
parent 0a74ec7759
commit d32cbedd06

6
pdf.js
View File

@ -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");