Commit 04a189f7 by doszhang

dos

parent cb0aab80
......@@ -279,6 +279,10 @@ function drawImage(ctx, myCanvas, img, imgInfo) {
ctx.restore();
}
function getManBase64(canvas) {
return canvas.toDataURL('image/png');
}
function initCanvas(target, id, canvasWidth, canvasHeight, useRem = false) {
if (useRem) {
canvasWidth = pxToRem(canvasWidth);
......
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