MGL_drawGlyph
Draws a monochrome glyph.
Declaration
void MGLAPI MGL_drawGlyph(
font_t *font,
int x,
int y,
uchar glyph)
Prototype In
mgraph.h
Parameters
font |
Font containing the glyphs |
x |
x coordinate to draw glyph at |
y |
y coordinate to draw glyph at |
glyph |
Index of glyph to draw |
Description
Rasterizes the specified monochrome glyph from the font file in the current color at the specified location. This is effectively the same as drawing a monochrome bitmap, but by storing all your monochrome bitmaps in a font file, the glyphs will be stored as efficiently as possible.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com