Measure text according to font
Say I create a font like so.
Pretend like everything works and is defined. :)
HFONT font = CreateFont(f_height,f_width,0,0,f_weight,f_italic,
Now, how do I figure out the unit length of a text string displayed with that font? Ive been looking for hours for a library function that dose that, and all I have found is Graphics.MeasureString from the .NET framework. But I am not using .NET.