1UNTITLED                             LOCAL                            UNTITLED
2

NAME

4     glutStrokeHeight — Returns the height of a given font.
5

LIBRARY

7     OpenGLUT - fonts
8

SYNOPSIS

10     #include <openglut.h>
11
12     GLfloat
13     glutStrokeHeight(void *fontID);
14

PARAMETERS

16      fontID     A GLUT stroked font identifier.
17

DESCRIPTION

19     This function reports the height of a font, given by  fontID,  as a
20     global characteristic of that font.
21
22     Returns 0 if  fontID  is invalid.
23

CAVEATS

25     Does  not   report the height used by individual characters.  This may
26     limit its usefulness; perhaps we should change it?  (And/or add a new
27     function.)
28

TODO

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

SEE ALSO

34     glutStrokeCharacter(3) glutStrokeString(3) glutStrokeWidth(3)
35     glutStrokeLength(3) glutBitmapHeight(3)
36
37
38
39
40                                     Epoch
Impressum