100
Smartcat (BL2100)
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);
Summary of Contents for Smartcat
Page 6: ...Smartcat BL2100 ...
Page 14: ...8 Smartcat BL2100 ...
Page 60: ...54 Smartcat BL2100 ...
Page 78: ...72 Smartcat BL2100 ...
Page 84: ...78 Smartcat BL2100 ...
Page 118: ...112 Smartcat BL2100 ...
Page 124: ...118 Smartcat BL2100 ...
Page 132: ...126 Smartcat BL2100 ...
Page 134: ......