FMGETCHRWIDTH(3W)FMGETCHRWIDTH(3W)NAME
fmgetchrwidth - return the width of a character
SYNOPSIS
#include <fmclient.h>
long fmgetchrwidth(fh, ch)
fmfonthandle fh;
unsigned char ch;
DESCRIPTION
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.
SEE ALSOfminit(3W)NOTE
This routine is available only in immediate mode.
Page 1