SFML community forums

Help => Graphics => Topic started by: Dark Byte on November 06, 2010, 05:27:09 pm

Title: is it possible to get fonts size in pixles?
Post by: Dark Byte on November 06, 2010, 05:27:09 pm
Is it possible to get the width and height of an sf::String object dependent on the font and size in pixels?
Title: is it possible to get fonts size in pixles?
Post by: Laurent on November 06, 2010, 06:19:55 pm
Are you looking for sf::String::GetRect()?
Title: is it possible to get fonts size in pixles?
Post by: Dark Byte on November 06, 2010, 09:56:58 pm
Yes that is it thanks.