FMGETCHRWIDTH(3W) FMGETCHRWIDTH(3W)
fmgetchrwidth - return the width of a character
#include <fmclient.h>
long fmgetchrwidth(fh, ch)
fmfonthandle fh;
unsigned char ch;
fmgetchrwidth returns the number of pixels (in the x dimension) by which
the current character position moves when you image the specified
character. This value is rounded to an integer (for some fonts,
characters can have subpixel dimensions). If the specified character
glyph does not exist, the width of a space is returned. If a space does
not exist, the width of the font is returned.
fminit(3W)
This routine is available only in immediate mode.
PPPPaaaaggggeeee 1111 [ Back ]
|