public void stamp(FlxSprite brush, int x = 0, int y = 0)
{
throw new NotImplementedException();
/*
Brush.drawFrame();
var bitmapData:BitmapData = Brush.framePixels;
//Simple draw
if(((Brush.angle == 0) || (Brush._bakedRotation > 0)) && (Brush.scale.x == 1) && (Brush.scale.y == 1) && (Brush.blend == null))
{
_flashPoint.x = X;
_flashPoint.y = Y;
_flashRect2.width = bitmapData.width;
_flashRect2.height = bitmapData.height;
_pixels.copyPixels(bitmapData,_flashRect2,_flashPoint,null,null,true);
_flashRect2.width = _pixels.width;
_flashRect2.height = _pixels.height;
calcFrame();
return;
}
//Advanced draw
_matrix.identity();
_matrix.translate(-Brush.origin.x,-Brush.origin.y);
_matrix.scale(Brush.scale.x,Brush.scale.y);
if(Brush.angle != 0)
_matrix.rotate(Brush.angle * 0.017453293);
_matrix.translate(X+Brush.origin.x,Y+Brush.origin.y);
_pixels.draw(bitmapData,_matrix,null,Brush.blend,null,Brush.antialiasing);
calcFrame();
*/
}