
User’s Manual
89
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 font descriptor pointer.
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 top left corner of the text.
y
is the
y
coordinate (row) of the top left corner of the text.
*pInfo
is a font descriptor pointer.
*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, ...);
Downloaded from
Elcodis.com
electronic components distributor
Summary of Contents for RabbitCore RCM3000
Page 8: ...RabbitCore RCM3000 Downloaded from Elcodis com electronic components distributor...
Page 36: ...28 RabbitCore RCM3000 Downloaded from Elcodis com electronic components distributor...
Page 42: ...34 RabbitCore RCM3000 Downloaded from Elcodis com electronic components distributor...
Page 56: ...48 RabbitCore RCM3000 Downloaded from Elcodis com electronic components distributor...
Page 80: ...72 RabbitCore RCM3000 Downloaded from Elcodis com electronic components distributor...
Page 110: ...102 RabbitCore RCM3000 Downloaded from Elcodis com electronic components distributor...
Page 126: ...118 RabbitCore RCM3000 Downloaded from Elcodis com electronic components distributor...
Page 128: ...Downloaded from Elcodis com electronic components distributor...