var canvas = document.getElementById('canvas');
var context = canvas.getContext('2d');
context.setTransform(1,0,0,0.5,10,-30);
context.fillStyle = '#cf2da1';
context.fillRect(0,0,100,50);
context.fill();
context.setTransform(1,0,0,0.5,10,-30);
context.drawImage(img, 0, 0);
去年6月?成型, 俄罗斯打小兵
gzip之后全功能版本 < 10k