When I rotate an image and print out its width/height, they are different for different angles. It seems that also the bounding box (in parent space) is different.
Can someone tell me if this is expected behavior, or if I'm misunderstanding something ?
this.rotation = deg2rad(0);
trace(' (0 degr) : ' + this.width + '/' + this.height);
this.rotation = deg2rad(45);
trace('(45 degr) : ' + this.width + '/' + this.height);
(0 degr) : 113/89.90
(45 degr) : 142.83/142.95
* draw_boundingbox() //dark blue
var bb:Rectangle= this.getBounds(parent);
var canvas:Canvas = new Canvas();
canvas.drawRectangle(bb.x, bb.y, bb.width, bb.height);