UNTITLED LOCAL UNTITLED
NAMEglutBitmapLength — 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 ALSOglutBitmapString(3)glutBitmapWidth(3)glutBitmapHeight(3)glutStrokeLength(3)
Epoch