SFML community forums
Bindings - other languages => C => Topic started by: dowhile on June 13, 2012, 05:22:55 pm
-
Hello,
how can I get the width of a sfText in pixels? In another topic (C++), someone refers to text.GetRect().getWidth(), but there's no sfText_getRect() function in the C binding.
(Edit: I'm using CSFML-2.0-rc)
I'm thankful for any reply.
-
In SFML 2 the function is getGlobalBounds().