GLUTBITMAPCHARACTER
Section: C Library Functions (3)
Updated: LOCAL
Index
Return to Main Contents
BSD mandoc
 
NAME
glutBitmapCharacter
 - Draw a bitmapped character
 
LIBRARY
OpenGLUT - bitmapfont
 
SYNOPSIS
In openglut.h
Ft void
Fn glutBitmapCharacter void *font int character
 
PARAMETERS
Bf Em
 font
Ef 
      A bitmapped font identifier.
Bf Em
 character
Ef 
 A character code.
 
DESCRIPTION
Draw a 
Bf Sy
 character
Ef 
 at the current OpenGL raster position
using a bitmapped 
Bf Sy
 font.
Ef 
  The raster position is advanced
by the width of the character.
Nothing is drawn, and the raster position is unaffected when
either:
 - 
Bf Sy
 character
Ef 
 is out of range
 - 
Bf Sy
 font
Ef 
 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)