User’s Manual
107
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, ...);
Содержание RabbitCore
Страница 1: ...RabbitCore RCM3600 C Programmable Core Module User s Manual 019 0135 050630 C ...
Страница 6: ...RabbitCore RCM3600 ...
Страница 12: ...6 RabbitCore RCM3600 ...
Страница 92: ...86 RabbitCore RCM3600 ...
Страница 128: ...122 RabbitCore RCM3600 ...
Страница 132: ...126 RabbitCore RCM3600 ...
Страница 136: ...130 RabbitCore RCM3600 ...
Страница 138: ......