|
var b = new flash.display.BitmapData(w, h);
|
|
var b = new flash.display.BitmapData(w, h);
|
|
b.copyPixels(bmp, new flash.geom.Rectangle(x, y, w, h), new flash.geom.Point(0, 0));
|
|
b.copyPixels(bmp, new flash.geom.Rectangle(x, y, w, h), new flash.geom.Point(0, 0));
|
|
|
|
+ haxe.ds.Vector.blit(data.pixels, x + (y + dy) * width * 4, b.pixels, dy * w * 4, w * 4);
|