Commit 6c999ed8 by doszhang

dos

parent 2c5262a9
...@@ -518,7 +518,7 @@ function createPoster() { ...@@ -518,7 +518,7 @@ function createPoster() {
let decorate = new Image(); let decorate = new Image();
decorate.src = checkedDecorate; decorate.src = checkedDecorate;
decorate.onload = function () { decorate.onload = function () {
posterCtx.drawImage(decorate, pxToRem(169 * 2), pxToRem(300 * 2), pxToRem(300 * 2), pxToRem(150 * 2)); posterCtx.drawImage(decorate, pxToRem(169 * 2), pxToRem(300 * 2), pxToRem(290 * 2), pxToRem(150 * 2));
flagTextDraw(posterCtx, signature, pxToRem(40 * 2), '#222222', pxToRem(233 * 2), (bottomHalfTop + pxToRem(76)) * 2, 'font'); flagTextDraw(posterCtx, signature, pxToRem(40 * 2), '#222222', pxToRem(233 * 2), (bottomHalfTop + pxToRem(76)) * 2, 'font');
setTimeout(function () { setTimeout(function () {
$('.posterImg').attr('src', getManBase64(posterCanvas)).css('height', pxToRem(posterCanvasHeight)); $('.posterImg').attr('src', getManBase64(posterCanvas)).css('height', pxToRem(posterCanvasHeight));
......
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 sign in to comment