User`s manual

OP7100 Software
63
void op71FillPolygon( int n, int x1, int y1,
int x2, int y2, ... );
Fills a polygon in the LCD page buffer, and on the LCD if the buffer is
unlocked.
PARAMETERS: n is the number of vertices.
(x1,y1) are the (x,y) coordinates of the first vertex.
(x2,y2) are the (x,y) coordinates of the first vertex...
void op71XFontInit( struct _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 is byte-
aligned.
PARAMETERS: pInfo is a pointer to the font descriptor to be
initialized.
pixWidth is the width of each font item (in pixels).
pixHeight is the height of each font item (in pixels).
startChar is the the first printable character in the font (does not
have to be 0).
endChar is the the last printable character in the font.
xmemBuffer is a pointer to a linear array of font bitmaps in xmem.
unsigned long op71FontChar( unsigned long font,
char letter );
Returns the bitmap address of the character in the font specified.
PARAMETERS: font is the font address in xmem.
letter is the ASCII letter code.
RETURN: xmem bitmap address of the character in the font, column
major and byte-aligned.