glutBitmapWidth man page on RedHat

Man page or keyword search:  
man Server   29550 pages
apropos Keyword Search (all sections)
Output format
RedHat logo
[printable version]

UNTITLED			     LOCAL			      UNTITLED

NAME
     glutBitmapWidth — Return the width of a bitmapped character, in pixels.

LIBRARY
     OpenGLUT - bitmapfont

SYNOPSIS
     #include <openglut.h>

     int
     glutBitmapWidth(void *font, int character);

PARAMETERS
      font	 A bitmapped font identifier.

      character	 A character code.

DESCRIPTION
     Returns the horizontal OpenGL raster position offset for a	 character  in
     a bitmapped  font.

     It is also an upper bound on the width of the bitmapped glyph for	char‐
     acter,  though not all letters will use their full width, especially
     fixed-width fonts.

     Returns 0 if the  character  is out of the inclusive range [0,255] or if
     the  font	is invalid.

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)

				     Epoch
[top]

List of man pages available for RedHat

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net