SFML community forums

Help => Graphics => Topic started by: brwnow on February 20, 2010, 05:19:18 am

Title: Get size in pixels of a text
Post by: brwnow on February 20, 2010, 05:19:18 am
I'm trying to find a way to get the size( width, height) of a text, but i can't find it at all. Has anyone already tried the same or someone knows a way to do it?
.
So, yes, i already searched in the documentation, in the google, i tried several ways, i really need help.
Title: Get size in pixels of a text
Post by: Xeon06 on February 20, 2010, 05:38:14 am
GetRect? (http://www.sfml-dev.org/documentation/1.5/classsf_1_1String.htm#1a5283b36b1cfba41d1dcd42ff33002d)
Title: Get size in pixels of a text
Post by: brwnow on February 20, 2010, 05:59:52 am
I really appreciate your help ^^

I'm sorry for asking something so obvious, but i'm a beginner in english too, so i had troubles to read the documentation =]
Title: Get size in pixels of a text
Post by: Xeon06 on February 20, 2010, 03:57:37 pm
Hey no problem, I've been there, English isn't my native language. Programming is what improved it so keep up!