FMOUTCHAR(3W) FMOUTCHAR(3W)
fmoutchar - render a single glyph.
#include <fmclient.h>
long fmoutchar(fh, ch)
fmfonthandle fh;
unsigned int ch;
fmoutchar renders a single glyph from the given font. It does not change
the current font. If the glyph doesn't exist, it spaces forward the
width of a space; if a space doesn't exist, it spaces forward the width
of the font. The width used is returned. Note that 'ch' is declared as
'unsigned int' so that characters with code > 256 can be displayed.
fminit(3W), fmfindfont(3W), fmscalefont(3W), fmsetfont(3W).
This routine is available only in immediate mode.
PPPPaaaaggggeeee 1111 [ Back ]
|