OP7100
Software 67
•
glXFontInit( struct _fontInfo *pInfo,
char pixWidth, char pixHeight,
unsigned startChar, unsigned endChar,
unsigned long xmemBuffer )
Initializes a font descriptor that has the bitmap defined in
xmem
. For
bitmaps defined in root memory, use
glFontInit
.
PARAMETERS:
pInfo
is a pointer to the font descriptor to be
initialized.
pixWidth
is the width of each font item (
pixWidth
must be uniform
for all items).
pixHeight
is the height of each font item (
pixHeight
must be
uniform for all items).
startChar
is the offset to the first useable item (useful for fonts for
ASCII or other fonts with an offset).
endChar
is the index of the last useable font item.
xmemBuffer
is a pointer to a linear array of the font bitmap. The
bitmap is a column with the major byte aligned.
•
void glSetBrushType( int type )
Sets the type of brush type and controls how pixels are drawn on the
screen until the next call to
glSetBrushType
.
PARAMETER:
type
is the type of the brush. The four macros
described below have been defined for valid values to pass to the
function.
All four brush types can be used to display text or bitmaps. Do
not use
GL_BLOCK
for
glPlot
or
glFill
graphics primitive
functions.
Macro
Description
Effect
GL_SET
Pixels specified by subsequent
gl
functions will turn on the LCD
pixels
LCDPix =
LCDPix | newPix
GL_CLEAR
Pixels specified by subsequent
gl
functions will turn off the LCD
pixels
LCDPix =
LCDPix & ~newPix
GL_XOR
Pixels specified by subsequent
gl
functions will toggle the LCD pixels
LCDPix =
LCDPix ^ newPix
GL_BLOCK
Pixels specified by subsequent
gl
functions will be displayed on the
LCD as is
LCDPix = newPix
Содержание OP7100
Страница 1: ...OP7100 Serial Graphic Display User s Manual 019 0065 070831 O ...
Страница 10: ...OP7100 x About This Manual ...
Страница 16: ...OP7100 16 Overview ...
Страница 51: ...OP7100 Software 51 CHAPTER 4 SOFTWARE Chapter 4 describes the Dynamic C functions used with the OP7100 ...
Страница 74: ...OP7100 74 Software ...
Страница 82: ...OP7100 82 Graphics Programming ...
Страница 88: ...OP7100 88 Installation ...
Страница 98: ...OP7100 98 Specifications ...
Страница 108: ...OP7100 108 Memory I O Map and Interrupt Vectors ...
Страница 112: ...112 Serial Interface Board 2 OP7100 ...
Страница 113: ...OP7100 Backup Battery 113 APPENDIX E BACKUP BATTERY ...
Страница 116: ...OP7100 116 Backup Battery ...
Страница 124: ...OP7100 124 Index ...
Страница 126: ...XX0000 Schematics ...