update
This commit is contained in:
parent
ea15408525
commit
9d9c01c3cc
@ -40,4 +40,4 @@ context.scale(x 倍数, y 倍数); //画板放大指定倍数
|
|||||||
canvas2.width = w * times * window.devicePixelRatio; //指定画板宽度
|
canvas2.width = w * times * window.devicePixelRatio; //指定画板宽度
|
||||||
canvas2.height = h * times * window.devicePixelRatio; //指定画板宽度
|
canvas2.height = h * times * window.devicePixelRatio; //指定画板宽度
|
||||||
为什么要再乘以window.devicePixelRatio
|
为什么要再乘以window.devicePixelRatio
|
||||||
这个其实是设备的dpi,可能
|
这个其实是设备的dpi,
|
||||||
|
Loading…
Reference in New Issue
Block a user