Gamestudio Links
Zorro Links
Newest Posts
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
ZorroGPT
by TipmyPip. 04/08/26 17:08
TMFs on options in live trading
by Spirit. 03/26/26 19:52
TDAmeritrade plugin with new Schwab accountt?
by AndrewAMD. 03/24/26 17:11
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
4 registered members (clint000, Grant, James168, NeoDumont), 1,338 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ondrej, mredit, vestriaa, Lukudo, mldenoiser
19205 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to get Font Size? #455012
10/01/15 21:08
10/01/15 21:08
Joined: Jan 2006
Posts: 968
EpsiloN Offline OP
User
EpsiloN  Offline OP
User

Joined: Jan 2006
Posts: 968
Need a little help again...

After an extensive search, I found the str_width function, which returns the string width in pixels. I remember seeing a function some time ago, that returns a predefined font's height in pixels, but I cant find it anywhere in the manual.

Anybody know the name of this function? Or am I deeply confused grin ...


Extensive Multiplayer tutorial:
http://mesetts.com/index.php?page=201
Re: How to get Font Size? [Re: EpsiloN] #455014
10/02/15 07:20
10/02/15 07:20
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
Hi,
the font height is stored in the 'dy' member of the FONT struct.

Salud!

Re: How to get Font Size? [Re: txesmi] #455028
10/03/15 08:09
10/03/15 08:09
Joined: Jan 2006
Posts: 968
EpsiloN Offline OP
User
EpsiloN  Offline OP
User

Joined: Jan 2006
Posts: 968
Super simple laugh right?

Thanks. Worked instantly. grin


Extensive Multiplayer tutorial:
http://mesetts.com/index.php?page=201

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1