glutbitmapstring(3) - Linux man page
Name
glutBitmapString - Draw a string of bitmapped characters
Library
OpenGLUT - bitmapfont
Synopsis
#include <openglut.h>
void
glutBitmapString(void *font, const unsigned char *string);
-
Parameters
font A bitmapped font identifier.
string A NUL-terminated ASCII string.
Description
Draw a string the current OpenGL raster position using a bitmapped font. The raster position is advanced by the width of the string.
The starting raster position is used as the left margin for multi-line strings. Each newline character repositions the raster position at the beginning of the next line.
Nothing is drawn, and the raster position is unaffected when either: - font is not a valid OpenGLUT bitmap font - string is an empty string or NULL pointer - The current OpenGL raster position is invalid
See Also
glrasterpos(3) glutbitmapcharacter(3)
BSD Epoch BSD