canvas 的 drawImage 不能使用 rpx 作为尺寸单位?发布于 7 年前作者 qiang3316242 次浏览最后编辑 7 年前来自 askCanvasContext.drawImage 的 width 和 height 参数只能传入 px 尺寸单位?那如何做多设备的兼容?