glutBitmapCharacter (3) - Linux Manuals

glutBitmapCharacter: Draw a bitmapped character

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.