void EnableVariableWidth(int fonthandle)
This function enables variablewidth mode for the font passed. If you're not familiar with variable-width fonts, this simply means that each character only occupies as much space as it needs when printing.
You should NOT call this with 0 as an arguement, as you might with other font routines to denote the builtin font; the built-in font is always variable width, and passing 0 to this function will generate an error.
int MainFont; MainFont = LoadFont( "my_font.gif" ); EnableVariableWidth( MainFont );
There are no talkbacks on this documentation page yet. Post the first?
Doc Nav |
Your docs |