1UNTITLED                             LOCAL                            UNTITLED
2

NAME

4     glutBitmapHeight — Return the height of a given font, in pixels.
5

LIBRARY

7     OpenGLUT - bitmapfont
8

SYNOPSIS

10     #include <openglut.h>
11
12     int
13     glutBitmapHeight(void *font);
14

PARAMETERS

16      font     A bitmapped font identifier.
17

DESCRIPTION

19     Return the line-to-line vertical spacing (in pixels) between lines of a
20     bitmapped  font.
21
22     Returns 0 if  font  is invalid.
23

CAVEATS

25     Does  not   report the height used by individual characters.  This may
26     limit its usefulness.  (Compare with other font-metric queries.)
27

TODO

29     We have discussed adding a "font descender" query. We should go ahead and
30     do it.
31

SEE ALSO

33     glutBitmapCharacter(3) glutBitmapString(3) glutBitmapWidth(3)
34     glutBitmapLength(3) glutStrokeHeight(3)
35
36
37
38
39                                     Epoch
Impressum