Rectangle type conversion


#1

what would be the best way to convert an integer rectangle to a float one?
all of my

are dead…


#2

found it :smiley:


#3

Use getLocalBounds() instead and you got it right.


#4

not in my case ( i am really doing child->getBounds() ), but its great to see this method. it shall be very useful, thanks!