glutBitmapWidth (3) Linux Manual Page
glutBitmapWidth – Return the width of a bitmapped character, in pixels.
Library
OpenGLUT – bitmapfont
Synopsis
In openglut.h Ft int Fn glutBitmapWidth void *font int character
Parameters
Bf Em
Bf Em
Description
Returns the horizontal OpenGL raster position offset for a Bf Sy
It is also an upper bound on the width of the bitmapped glyph for Bf Sy
Returns 0 if the Bf Sy
Caveats
In GLUT, some glyphs could render to the left of the starting position, in some fonts. OpenGLUT’s fonts all position all of their glyphs to start at, or to the right of, the initial position.
See Also
glutBitmapCharacter(3) glutBitmapLength(3) glutBitmapHeight(3) glutStrokeWidth(3)
