SFML community forums
Help => Graphics => Topic started by: pauliuc on October 22, 2010, 02:40:44 pm
-
Hi,
is there a way to retrieve the width and height of a rotated sprite? Not the original one.
Thanks.
-
You can transform the corners of the sprite to global coordinates (TransformToGlobal) and compute the difference on X and Y.