Canvas 绘制线条长度大于一定值, 模拟器可以显示 ,真机不显示 ,不确定是限制,还是BUG?
ctx.lineWidth =1
ctx.strokeRect(0,0,8300000,8300000)//显示
//ctx.strokeRect(0,0,8400000,8400000)//不显示
ctx.moveTo(0, 0)
ctx.lineTo(16700000,16700000)//显示
// sctx.lineTo(16800000,16800000)//不显示
ctx.stroke()