Commit ef5dc3ed authored by Oleg Korshul's avatar Oleg Korshul

.

parent 726680eb
...@@ -1285,9 +1285,18 @@ ...@@ -1285,9 +1285,18 @@
_ctx.lineTo(_w_pix, _y_line); _ctx.lineTo(_w_pix, _y_line);
_ctx.stroke(); _ctx.stroke();
_ctx.beginPath(); _ctx.beginPath();
_ctx.fillText(_obj.asc_getSigner1(), 10, _y_line + 20);
_ctx.fillText(_obj.asc_getSigner2(), 10, _y_line + 35); _ctx.lineWidth = 2;
_ctx.fillText(_obj.asc_getEmail(), 10, _y_line + 50); _y_line -= 10;
_ctx.moveTo(10, _y_line);
_ctx.lineTo(25, _y_line - 10);
_ctx.lineTo(10, _y_line - 20);
_ctx.stroke();
_ctx.beginPath();
_ctx.fillText(_obj.asc_getSigner1(), 10, _y_line + 25);
_ctx.fillText(_obj.asc_getSigner2(), 10, _y_line + 40);
_ctx.fillText(_obj.asc_getEmail(), 10, _y_line + 55);
var _url = _canvas.toDataURL("image/png"); var _url = _canvas.toDataURL("image/png");
_canvas = null; _canvas = null;
......
...@@ -3082,7 +3082,6 @@ ...@@ -3082,7 +3082,6 @@
window["AscCommon"].parserHelp = parserHelp; window["AscCommon"].parserHelp = parserHelp;
window["AscCommon"].g_oIdCounter = g_oIdCounter; window["AscCommon"].g_oIdCounter = g_oIdCounter;
window["AscCommon"].CDocumentSignatureImages = CDocumentSignatureImages;
window["AscCommon"].CSignatureDrawer = window["AscCommon"]["CSignatureDrawer"] = CSignatureDrawer; window["AscCommon"].CSignatureDrawer = window["AscCommon"]["CSignatureDrawer"] = CSignatureDrawer;
var prot = CSignatureDrawer.prototype; var prot = CSignatureDrawer.prototype;
prot["getImages"] = prot.getImages; prot["getImages"] = prot.getImages;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment