User`s manual

PK2200 Software Reference s 59
void glXFontInit(struct
_
fontInfo *pInfo,
char pixWidth, char pixHeight, unsigned
startChar, unsigned endChar, unsigned long
xmemBuffer)
Initializes a font descriptor that has the bitmap defined in xmem. For
bitmaps defined in root memory, use glFontInit.
PARAMETER1: pointer to the font descriptor to be initialized.
PARAMETER2: width of each font item (must be uniform for all
items).
PARAMETER3: height of each font item (must be uniform for all
items).
PARAMETER4: offset to the first useable item (useful for fonts for
ASCII or other fonts with an offset).
PARAMETER5: index of the last useable font item.
PARAMETER6: pointer to a linear array of font bitmap.
RETURN VALUE: None.
void glPutFont(int x, int y, struct fontInfo
*pInfo, unsigned code)
Puts an entry from the font table to the LCD.
PARAMETER1: x-coordinate of the entry (left edge).
PARAMETER2: y-coordinate of the entry (top edge).
PARAMETER3: pointer to the font descriptor that describes the font
table to be indexed.
PARAMETER4: code (offset) in the font table that indexes the bitmap
to display.
RETURN VALUE: None.
void glVPrintf(int x, int y, struct fontInfo
*pInfo, char *fmt, void *firstArg)
Prints a formatted string on the LCD screen, similar to vprintf.
PARAMETER1: x coordinate of the text (left edge).
PARAMETER2: y coordinate of the text (top edge).
PARAMETER3: pointer to font descriptor that describes the font used
for printing the text.
PARAMETER4: pointer to the string that describes the format.
PARAMETER5: pointer to the first argument to instigate the format
string.
RETURN VALUE: None.