glutbitmapheight(3) - Linux man page
Name
glutBitmapHeight - Return the height of a given font, in pixels.
Library
OpenGLUT - bitmapfont
Synopsis
#include <openglut.h>
int
glutBitmapHeight(void *font);
-
Parameters
font A bitmapped font identifier.
Description
Return the line-to-line vertical spacing (in pixels) between lines of a bitmapped font.
Returns 0 if font is invalid.
Caveats
Does not report the height used by individual characters. This may limit its usefulness. (Compare with other font-metric queries.)
Todo
We have discussed adding a "font descender" query. We should go ahead and do it.
See Also
glutbitmapcharacter(3) glutbitmapstring(3) glutbitmapwidth(3) glutbitmaplength(3) glutstrokeheight(3)
BSD Epoch BSD