hgeFont::GetStringWidth
Returns the on-screen string width.
float GetStringWidth(
const char *string
);
Parameters
- string
- Pointer to a string which width is to be calculated.
Return value
Returns actual on-screen width of the specified string in pixels.
Requirements
Header: hgefont.h
Import library: hgehelp.lib
|