Reference

glutBitmapWidth(3x)

returns the width of a bitmap character.

NAME

glutBitmapWidth - returns the width of a bitmap character.

SYNTAX


        
    

    
        
            

int glutBitmapWidth(GLUTbitmapFont font, int character)

ARGUMENTS

font

Bitmap font to use.

character

Character to return width of (not confined to 8 bits).

DESCRIPTION

glutBitmapWidth returns the width in pixels of a bitmap character in a supported bitmap font. While the width of characters in a font may vary (though fixed width fonts do not vary), the maximum height characteristics of a particular font are fixed.

SEE ALSO

glutBitmapCharacter, glutStrokeWidth

AUTHOR

Mark J. Kilgard ([email protected])