Rabbit OP7100 User Manual Page 67

  • Download
  • Add to my manuals
  • Print
  • Page
    / 126
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 66
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
Page view 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 125 126

Comments to this Manuals

No comments