glutStrokeLength (3) Linux Manual Page
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 Sy
Like glutStrokeString(), glutStrokeLength() respects newlines in the input.
Returns 0 if:
