glutStrokeLength (3) Linux Manual Page
glutStrokeLength – Returns model space width of a string in a given font.
Library
OpenGLUT – fonts
Synopsis
In openglut.h Ft float Fn glutStrokeLength void *fontID const unsigned char *string
Parameters
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:
Caveats
Refer to glutStrokeWidth() for notes on the nature of this function’s return value, and for comparisons to old GLUT and freeglut.
See Also
glutStrokeString(3) glutStrokeWidth(3) glutStrokeHeight(3) glutBitmapLength(3)
