Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages

CentOS 7.0 - man page for glutbitmapwidth (centos section 3)

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	character,  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 ini-
     tial position.

SEE ALSO
     glutBitmapCharacter(3) glutBitmapLength(3) glutBitmapHeight(3) glutStrokeWidth(3)

					      Epoch


All times are GMT -4. The time now is 10:28 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password