glutstrokeheight(3) - Linux man page
Name
glutStrokeHeight - Returns the height of a given font.
Library
OpenGLUT - fonts
Synopsis
#include <openglut.h>
GLfloat
glutStrokeHeight(void *fontID);
-
Parameters
fontID A GLUT stroked font identifier.
Description
This function reports the height of a font, given by fontID, as a global characteristic of that font.
Returns 0 if fontID is invalid.
Caveats
Does not report the height used by individual characters. This may limit its usefulness; perhaps we should change it? (And/or add a new function.)
Todo
We have discussed adding a "font descender" query. We should go ahead and do it.
See Also
glutstrokecharacter(3) glutstrokestring(3) glutstrokewidth(3) glutstrokelength(3) glutbitmapheight(3)
BSD Epoch BSD