1UNTITLED                             LOCAL                            UNTITLED
2

NAME

4     glutBitmapString — Draw a string of bitmapped characters
5

LIBRARY

7     OpenGLUT - bitmapfont
8

SYNOPSIS

10     #include <openglut.h>
11
12     void
13     glutBitmapString(void *font, const unsigned char *string);
14

PARAMETERS

16      font     A bitmapped font identifier.
17
18      string   A NUL-terminated ASCII string.
19

DESCRIPTION

21     Draw a  string  the current OpenGL raster position using a bitmapped
22     font.    The raster position is advanced by the width of the string.
23
24     The starting raster position is used as the left margin for multi-line
25     strings.  Each newline character repositions the raster position at the
26     beginning of the next line.
27
28     Nothing is drawn, and the raster position is unaffected when either:
29      -  font  is not a valid OpenGLUT bitmap font
30      -  string  is an empty string or NULL pointer
31      - The current OpenGL raster position is invalid
32

SEE ALSO

34     glRasterPos(3) glutBitmapCharacter(3)
35
36
37
38
39                                     Epoch
Impressum