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
DESCRIPTION
This function reports the sum of the widths of the characters in a Bf SyLike glutStrokeString(), glutStrokeLength() respects newlines in the input.
Returns 0 if: