C
SHORT GetTextWidth( XCHAR * textString, void * pFont );
Overview
This function returns the width of the specified string for the specified font. The string must be terminated by a line feed or zero.
Input Parameters
Input Parameters |
Description |
XCHAR * textString |
Pointer to the string. |
void * pFont |
Pointer to the font image. |
Returns
Returns the string width in the specified font.
Side Effects
none
Example
See OutTextXY() example.