remove debug code
This commit is contained in:
parent
d1cd02f0a7
commit
609842b76c
9
pdf.js
9
pdf.js
@ -1971,14 +1971,7 @@ var CanvasGraphics = (function() {
|
|||||||
|
|
||||||
var fn = sh.get("Function");
|
var fn = sh.get("Function");
|
||||||
fn = this.xref.fetchIfRef(fn);
|
fn = this.xref.fetchIfRef(fn);
|
||||||
/*
|
|
||||||
console.log("x0: "+ x0, "y0: "+ y0, "x1: "+ x1, "y1: "+ y1);
|
|
||||||
console.log("size: "+ fn.dict.get("Size"));
|
|
||||||
console.log("BPS: "+ fn.dict.get("BitsPerSample"));
|
|
||||||
console.log(fn.dict.get("Encode"));
|
|
||||||
console.log(fn.dict.get("Range"));
|
|
||||||
console.log(fn.dict.get("Decode"));
|
|
||||||
*/
|
|
||||||
var gradient = this.ctx.createLinearGradient(x0, y0, x1, y1);
|
var gradient = this.ctx.createLinearGradient(x0, y0, x1, y1);
|
||||||
|
|
||||||
gradient.addColorStop(0, 'rgb(0,0,255)');
|
gradient.addColorStop(0, 'rgb(0,0,255)');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user