FMFPRSTR(3W) FMFPRSTR(3W)
fmfprstr - render a character string in a specified font
#include <fmclient.h>
int fmfprstr(fh, str, len, x, y)
fmfonthandle fh;
unsigned char *str;
short len;
int x, y;
fmfprstr sets the current font to a specified font, and then renders a
specified character string by using that font. fmfprstr does not perform
the subpixel positioning of characters. It returns the length of the
rendered character string in pixels. This function can usually render a
given character string faster than the function fmprstr. The return value
of -1 indicates an error.
fminit(3W), fmfindfont(3W), fmprstr(3W), fmscalefont(3W), fmsetfont(3W),
fmrotatepagematrix(3W).
This routine is available only in immediate mode.
PPPPaaaaggggeeee 1111 [ Back ]
|