glutbitmaplength(3) - Linux man page
Name
glutBitmapLength - Return the width of a bitmapped string, in pixels.
Library
OpenGLUT - bitmapfont
Synopsis
#include <openglut.h>
int
glutBitmapLength(void *font, const unsigned char *string);
-
Parameters
font A bitmapped font identifier.
string A NUL-terminated ASCII string.
Description
Returns the maximum horizontal OpenGL raster position offset for a string in a bitmapped font.
As with glutBitmapString(), newlines are taken into consideration.
Returns 0 if the font is invalid or if the string is empty or NULL.
See Also
glutbitmapstring(3) glutbitmapwidth(3) glutbitmapheight(3) glutstrokelength(3)
BSD Epoch BSD