FMPRSTR(3W) FMPRSTR(3W)
fmprstr - render a string in the current font
#include <fmclient.h>
long fmprstr(str)
char *str;
fmprstr renders a string using the current font, as set by fmsetfont. It
uses subpixel-positioning to assure that rounding errors do not cause
aberrant spacing. It also renders rotated characters by inspecting and
concatenating the page matrix with the font matrix, then rendering in the
resulting coordinate system. If the string is null, or the font does not
exist, fmprstr returns -1. Otherwise, it returns 0.
fminit(3W), fmfindfont(3W), fmfprstr(3W), fmscalefont(3W), fmsetfont(3W),
fmrotatepagematrix(3W).
This routine is available only in immediate mode.
PPPPaaaaggggeeee 1111 [ Back ]
|