#include "nfbWinStr.h" #include "nfbGlyph.h"xxx is the routine's prefix. Valid values are gen to use the default routine or your driver's prefix if you are rewriting this routine to use the specific capabilities of your hardware.
void xxxDrawMonoGlyphs ( nfbGlyphInfo *glyph_info, unsigned int nglyphs, unsigned long fg, unsigned char alu, unsigned long planemask, nfbFontPSPtr pPS, DrawablePtr pDrawable );
planemaskto all writes. The glyph image is color-expanded so that all 1 bits in the source are drawn with the foreground color specified by
planemaskvalues are applied.
imagewith the contents of the frame buffer. See ``alu'' in Developing NFB graphics adapter drivers.
planemaskthat specifies modification of all planes.
pDrawable->pScreen. Your screen private is connected to the bottom of ScreenRec.
pPS, and the other is a unique glyph ID within that font,
glyph_info->glyph_id. This information can be used to cache glyphs in extra video memory.
The routine pointed to by the
ClearFont member of the
structure is called when a font is unrealized (freed)
from the server.
If the display driver is caching glyphys in the adapter's memory,
the glyphys that belong to the private count identified
fontID member of the nfbScrnPriv structure
can be cleared from the cache.
unsigned long fontidas the 6th argument instead of
void (* DrawMonoGlyphs) ( struct _nfbGlyphInfo *, unsigned int, unsigned long, unsigned char, unsigned long, unsigned long, struct _Drawable * ) ;