Skip to content

Commit

Permalink
TODO() for radial shading
Browse files Browse the repository at this point in the history
  • Loading branch information
joneschrisg committed Jun 22, 2011
1 parent abcda6e commit ea9f916
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -3024,7 +3024,7 @@ var CanvasGraphics = (function() {
var typeNum = shading.get("ShadingType");
var fillFn = types[typeNum];
if (!fillFn)
error("Unknown type of shading");
error("Unknown or NYI type of shading '"+ typeNum +"'");
fillFn.apply(this, [shading]);

this.restore();
Expand Down Expand Up @@ -3077,6 +3077,10 @@ var CanvasGraphics = (function() {
this.ctx.fillRect(-1e10, -1e10, 2e10, 2e10);
},

fillRadialShading: function(sh) {
TODO("radial shading");
},

// Images
beginInlineImage: function() {
TODO("inline images");
Expand Down

0 comments on commit ea9f916

Please sign in to comment.