#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 );
planemask to all writes.
The glyph image is color-expanded
so that all 1 bits in the source
are drawn with the foreground color specified by
planemask values are applied.
image with the contents of the frame buffer.
``alu'' in Developing NFB graphics adapter drivers.
that specifies modification of all planes.
Your screen private is connected to the bottom of ScreenRec.
and the other is a unique glyph ID within that font,
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 fontid
as the 6th argument instead of
void (* DrawMonoGlyphs) ( struct _nfbGlyphInfo *, unsigned int, unsigned long, unsigned char, unsigned long, unsigned long, struct _Drawable * ) ;