![background image](http://html1.mh-extra.com/html/rabbit/rcm3365/rcm3365_user-manual_3124182127.webp)
User’s Manual
121
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
Increments LCD screen locking counter. Graphic calls are recorded in the LCD memory buffer and are
not transferred to the LCD if the counter is non-zero.
NOTE:
glBuffLock()
and
glBuffUnlock()
can be nested up to a level of 255, but be
sure to balance the calls. It is not a requirement to use these procedures, but a set of
glBuffLock()
and
glBuffUnlock()
bracketing a set of related graphic calls speeds
up the rendering significantly.
RETURN VALUE
None.
SEE ALSO
glBuffUnlock, glSwap
Decrements the LCD screen locking counter. The contents of the LCD buffer are transferred to the LCD
if the counter goes to zero.
RETURN VALUE
None.
SEE ALSO
glBuffLock, glSwap
void glPrintf(int x, int y, fontInfo *pInfo,
char *fmt, ...);
void glBuffLock(void);
void glBuffUnlock(void);
Содержание RCM3365
Страница 6: ...RabbitCore RCM3365 RCM3375 Schematics 157...
Страница 14: ...8 RabbitCore RCM3365 RCM3375...
Страница 24: ...18 RabbitCore RCM3365 RCM3375...
Страница 72: ...66 RabbitCore RCM3365 RCM3375...
Страница 108: ...102 RabbitCore RCM3365 RCM3375...
Страница 142: ...136 RabbitCore RCM3365 RCM3375...
Страница 148: ...142 RabbitCore RCM3365 RCM3375...
Страница 164: ......