Rechercher une page de manuel
glutStrokeHeight
Langue: en
Version: 154103 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
BSD mandoc
NAME
glutStrokeHeight - Returns the height of a given font.LIBRARY
OpenGLUT - fontsSYNOPSIS
In openglut.h Ft GLfloat Fn glutStrokeHeight void *fontIDPARAMETERS
Bf Em
fontID Ef
A GLUT stroked font identifier.
DESCRIPTION
This function reports the height of a font, given by Bf SyfontID, Ef
as a global characteristic of that font.
Returns 0 if Bf Sy
fontID Ef
is invalid.
CAVEATS
Does Bf Linot Ef
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)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre