Rabbit RabbitCore User Manual page 147

C-programmable core module with ethernet, serial flash
Table of Contents

Advertisement

void glPutChar(char ch, char *ptr, int *cnt,
glPutCharInst *pInst)
Provides an interface between the
STDIO
string-formatting function will call this function, one character at a time, until the entire format-
ted string has been parsed. Any portion of the bitmap character that is outside the LCD display area will
be clipped.
PARAMETERS
ch is the character to be displayed on the LCD.
*ptr is not used, but is a place holder for
*cnt is not used, is a place holder for
pInst is a pointer to the font descriptor.
RETURN VALUE
None.
SEE ALSO
glPrintf, glPutFont, doprnt
void glPrintf(int x, int y, fontInfo *pInfo,
char *fmt, ...);
Prints a formatted string (much like printf) on the LCD screen. Only the character codes that exist in
the font set are printed, all others are skipped. For example, '\b', '\t', '\n' and '\r' (ASCII backspace, tab,
new line, and carriage return, respectively) will be printed if they exist in the font set, but will not have
any effect as control characters. Any portion of the bitmap character that is outside the LCD display area
will be clipped.
PARAMETERS
x is the x coordinate (column) of the upper left corner of the text.
y is the y coordinate (row) of the upper left corner of the text.
pInfo is a pointer to the font descriptor.
*fmt is a formatted string.
... are formatted string conversion parameter(s).
EXAMPLE
glprintf(0,0, &fi12x16, "Test %d\n", count);
RETURN VALUE
None.
SEE ALSO
glXFontInit
User's Manual
STDIO
string-handling functions and the graphic library. The
STDIO
string functions.
STDIO
string functions.
141

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RabbitCore and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Rcm3750

Table of Contents