Rabbit Core RCM3700 User Manual page 143

C-programmable core module with ethernet, serial flash, and enhanced software
Hide thumbs Also See for Core RCM3700:
Table of Contents

Advertisement

void glXFontInit(fontInfo *pInfo, char pixWidth,
char pixHeight, unsigned startChar,
unsigned endChar, unsigned long xmemBuffer);
Initializes the font descriptor structure, where the font is stored in xmem. Each font character's bitmap is
column major and byte-aligned.
PARAMETERS
pInfo is a pointer to the font descriptor to be initialized.
pixWidth is the width (in pixels) of each font item.
pixHeight is the height (in pixels) of each font item.
startChar is the value of the first printable character in the font character set.
endChar is the value of the last printable character in the font character set.
xmemBuffer is the xmem pointer to a linear array of font bitmaps.
RETURN VALUE
None.
SEE ALSO
glPrinf
unsigned long glFontCharAddr(fontInfo *pInfo,
char letter);
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
RabbitCore RCM3700 User's Manual
141

Advertisement

Table of Contents
loading

Table of Contents