1UNTITLED                             LOCAL                            UNTITLED
2

NAME

4     glutBitmapLength — Return the width of a bitmapped string, in pixels.
5

LIBRARY

7     OpenGLUT - bitmapfont
8

SYNOPSIS

10     #include <openglut.h>
11
12     int
13     glutBitmapLength(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     Returns the maximum horizontal OpenGL raster position offset for a
22     string  in a bitmapped  font.
23
24     As with glutBitmapString(), newlines are taken into consideration.
25
26     Returns 0 if the  font  is invalid or if the  string  is empty or  NULL.
27
28

SEE ALSO

30     glutBitmapString(3) glutBitmapWidth(3) glutBitmapHeight(3)
31     glutStrokeLength(3)
32
33
34
35
36                                     Epoch
Impressum