1UNTITLED LOCAL UNTITLED
2
4 glutBitmapCharacter — Draw a bitmapped character
5
7 OpenGLUT - bitmapfont
8
10 #include <openglut.h>
11
12 void
13 glutBitmapCharacter(void *font, int character);
14
16 font A bitmapped font identifier.
17
18 character A character code.
19
21 Draw a character at the current OpenGL raster position using a
22 bitmapped font. The raster position is advanced by the width of the
23 character.
24
25 Nothing is drawn, and the raster position is unaffected when either:
26 - character is out of range
27 - font is not a valid OpenGLUT bitmap font
28 - The current OpenGL raster position is invalid
29
31 glutBitmapString() is generally more efficient for strings of characters.
32
34 glRasterPos(3) glutBitmapString(3) glutBitmapWidth(3) glutBitmapHeight(3)
35 glutStrokeCharacter(3)
36
37
38
39
40 Epoch