glutbitmapcharacter(3) - Linux man page

Name

glutBitmapCharacter - Draw a bitmapped character

Library

OpenGLUT - bitmapfont

Synopsis

#include <openglut.h>

void

glutBitmapCharacter(void *font, int character);

Parameters

font A bitmapped font identifier.

character A character code.

Description

Draw a character at the current OpenGL raster position using a bitmapped font. The raster position is advanced by the width of the character.

Nothing is drawn, and the raster position is unaffected when either: - character is out of range - font is not a valid OpenGLUT bitmap font - The current OpenGL raster position is invalid

Caveats

glutBitmapString() is generally more efficient for strings of characters.

See Also

glrasterpos(3) glutbitmapstring(3) glutbitmapwidth(3) glutbitmapheight(3) glutstrokecharacter(3)

BSD Epoch BSD