User’s Manual
141
Provides an interface between the
STDIO
string-handling functions and the graphic library. 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
STDIO
string functions.
*cnt
is not used, is a place holder for
STDIO
string functions.
pInst
is a pointer to the font descriptor.
RETURN VALUE
None.
SEE ALSO
glPrintf, glPutFont, doprnt
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
void glPutChar(char ch, char *ptr, int *cnt,
glPutCharInst *pInst)
void glPrintf(int x, int y, fontInfo *pInfo,
char *fmt, ...);
Summary of Contents for RabbitCore
Page 6: ...RabbitCore RCM3750...
Page 40: ...34 RabbitCore RCM3750...
Page 64: ...58 RabbitCore RCM3750...
Page 126: ...120 RabbitCore RCM3750...
Page 162: ...156 RabbitCore RCM3750...
Page 172: ......