glutStrokeLength (3) - Linux Manuals
glutStrokeLength: Returns model space width of a string in a given font.
NAME
glutStrokeLength - Returns model space width of a string in a given font.LIBRARY
OpenGLUT - fontsSYNOPSIS
In openglut.h Ft float Fn glutStrokeLength void *fontID const unsigned char *stringPARAMETERS
Bf Em
Bf Em
Like glutStrokeString(), glutStrokeLength() respects
newlines in the input.
Returns 0 if:
DESCRIPTION
This function reports the sum of the widths of the
characters in a
Bf Sy
CAVEATS
Refer to glutStrokeWidth() for notes on the nature of this function's return value, and for comparisons to old GLUT and freeglut.