OP7100
Software
s
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.
void op71PutFont( int x, int y,
struct _fontInfo *pInfo, char code );
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.
PARAMETERS:
x
is the left edge (in pixels).
y
is the top edge (in pixels).
pInfo
is a pointer to the font descriptor.
code
is the code (character) to display.
Содержание OP7100
Страница 1: ...OP7100 Serial Graphic Display User s Manual 019 0065 020418 J ...
Страница 10: ...OP7100 x s About This Manual ...
Страница 16: ...OP7100 16 s Overview ...
Страница 50: ...OP7100 50 s Hardware ...
Страница 51: ...OP7100 Software s 51 CHAPTER 4 SOFTWARE Chapter 4 describes the Dynamic C functions used with the OP7100 ...
Страница 72: ...OP7100 72 s Software ...
Страница 80: ...OP7100 80 s Graphics Programming ...
Страница 86: ...OP7100 86 s Installation ...
Страница 96: ...OP7100 96 s Specifications ...
Страница 110: ...110 s Serial Interface Board 2 OP7100 ...
Страница 111: ...OP7100 Backup Battery s 111 APPENDIX E BACKUP BATTERY ...
Страница 114: ...OP7100 114 s Backup Battery ...
Страница 122: ...OP7100 122 s Index ...