1
Graphics / get the width in pixels of a sf::drawable object
« on: November 01, 2010, 04:00:22 am »
Hi every one
I know this is probably a silly question but I can't seem to manage to figure out how to get the width in pixels of a sf::drawable object.
If I use GetScale() then I just get 1, I know why that is but I need to get the objects width in pixels.
Any help to this possibly silly question is appreciated.
I know this is probably a silly question but I can't seem to manage to figure out how to get the width in pixels of a sf::drawable object.
If I use GetScale() then I just get 1, I know why that is but I need to get the objects width in pixels.
Any help to this possibly silly question is appreciated.
![Cheesy :D](https://www.sfml-dev.org/forums/Smileys/default/cheesy.gif)