FMPRSTR(3W)FMPRSTR(3W)NAMEfmprstr - render a string in the current font
SYNOPSIS
#include <fmclient.h>
long fmprstr(str)
char *str;
DESCRIPTIONfmprstr 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.
SEE ALSOfminit(3W), fmfindfont(3W), fmfprstr(3W), fmscalefont(3W), fmsetfont(3W),
fmrotatepagematrix(3W).
NOTE
This routine is available only in immediate mode.
Page 1