98
Smartcat (BL2100)
Returns the
xmem
address of the character from the specified font set.
PARAMETERS
*pInfo
is the
xmem
address of the bitmap font set.
letter
is an ASCII character.
RETURN VALUE
xmem
address of bitmap character font, column major, and byte-aligned.
SEE ALSO
glPutFont, glPrintf
Puts an entry from the font table to the page buffer and on the LCD if the buffer is unlocked. Each font
character's bitmap is column major and byte-aligned. 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 pointer to the font descriptor.
code
is the ASCII character to display.
RETURN VALUE
None.
SEE ALSO
glFontCharAddr, glPrintf
Sets the
glPrintf()
printing step direction. The
x
and
y
step directions are independent signed values.
The actual step increments depend on the height and width of the font being displayed, which are multi-
plied by the step values.
PARAMETERS
stepX
is the
glPrintf
x
step value
stepY
is the
glPrintf
y
step value
RETURN VALUE
None.
SEE ALSO
Use
glGetPfStep()
to examine the current
x
and
y
printing step direction.
unsigned long glFontCharAddr(fontInfo *pInfo,
char letter);
void glPutFont(int x, int y, fontInfo *pInfo,
char code);
void glSetPfStep(int stepX, int stepY);
Содержание Smartcat
Страница 6: ...Smartcat BL2100 ...
Страница 14: ...8 Smartcat BL2100 ...
Страница 60: ...54 Smartcat BL2100 ...
Страница 78: ...72 Smartcat BL2100 ...
Страница 84: ...78 Smartcat BL2100 ...
Страница 118: ...112 Smartcat BL2100 ...
Страница 124: ...118 Smartcat BL2100 ...
Страница 132: ...126 Smartcat BL2100 ...
Страница 134: ......