GLUTBITMAPSTRING

Section: C Library Functions (3)
Updated: LOCAL
Page Index

BSD mandoc
 

NAME

glutBitmapString - Draw a string of bitmapped characters  

LIBRARY

OpenGLUT - bitmapfont  

SYNOPSIS

In openglut.h Ft void Fn glutBitmapString void *font const unsigned char *string  

PARAMETERS

Bf Em
 font Ef
    A bitmapped font identifier.

Bf Em
 string Ef
  A NUL-terminated ASCII string.  

DESCRIPTION

Draw a Bf Sy
 string Ef
 the current OpenGL raster position using a bitmapped Bf Sy
 font. Ef
  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:
 -  Bf Sy
 font Ef
 is not a valid OpenGLUT bitmap font
 -  Bf Sy
 string Ef
 is an empty string or NULL pointer
 - The current OpenGL raster position is invalid

 

SEE ALSO

glRasterPos(3) glutBitmapCharacter(3)


 

Index

NAME
LIBRARY
SYNOPSIS
PARAMETERS
DESCRIPTION
SEE ALSO