How to get Font Size?

Posted By: EpsiloN

How to get Font Size? - 10/01/15 21:08

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 ...
Posted By: txesmi

Re: How to get Font Size? - 10/02/15 07:20

Hi,
the font height is stored in the 'dy' member of the FONT struct.

Salud!
Posted By: EpsiloN

Re: How to get Font Size? - 10/03/15 08:09

Super simple laugh right?

Thanks. Worked instantly. grin
© 2024 lite-C Forums