Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
is it possible to get fonts size in pixles?
Print
Pages: [
1
]
Author
Topic: is it possible to get fonts size in pixles? (Read 2011 times)
0 Members and 1 Guest are viewing this topic.
Dark Byte
Newbie
Posts: 30
is it possible to get fonts size in pixles?
«
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?
Logged
Laurent
Administrator
Hero Member
Posts: 32498
is it possible to get fonts size in pixles?
«
Reply #1 on:
November 06, 2010, 06:19:55 pm »
Are you looking for sf::String::GetRect()?
Logged
Laurent Gomila - SFML developer
Dark Byte
Newbie
Posts: 30
is it possible to get fonts size in pixles?
«
Reply #2 on:
November 06, 2010, 09:56:58 pm »
Yes that is it thanks.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
is it possible to get fonts size in pixles?
anything