This commit is contained in:
Alexander Trofimov
2015-06-25 11:27:08 +03:00
parent dbf21ee32f
commit a10605c91f
174 changed files with 24121 additions and 8908 deletions

View File

@@ -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) {