bug fix
This commit is contained in:
@@ -157,7 +157,7 @@ CPdfPrinter.prototype = {
|
||||
var _g = val.getG();
|
||||
var _b = val.getB();
|
||||
var _a = val.getA();
|
||||
this.DocumentRenderer.b_color1(_r, _g, _b, (_a * 255 + 0.5) >> 0);
|
||||
this.DocumentRenderer.b_color1(_r, _g, _b, parseInt(_a * 255 + 0.5));
|
||||
return this;
|
||||
},
|
||||
setFillPattern: function (val) {
|
||||
@@ -168,7 +168,7 @@ CPdfPrinter.prototype = {
|
||||
var _g = val.getG();
|
||||
var _b = val.getB();
|
||||
var _a = val.getA();
|
||||
this.DocumentRenderer.p_color(_r, _g, _b, (_a * 255 + 0.5) >> 0);
|
||||
this.DocumentRenderer.p_color(_r, _g, _b, parseInt(_a * 255 + 0.5));
|
||||
return this;
|
||||
},
|
||||
setLineWidth: function (val) {
|
||||
|
||||
Reference in New Issue
Block a user