Reference

glutStrokeWidth(3x)

NAME

glutStrokeWidth returns the width of a stroke character.

SYNTAX


        
    

    
        
            

int glutStrokeWidth(GLUTstrokeFont font, int character);

ARGUMENTS

font

Stroke font to use.

character

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

DESCRIPTION

glutStrokeWidth returns the width in pixels of a stroke character in a supported stroke 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

glutStrokeCharacter, glutBitmapWidth

AUTHOR

Mark J. Kilgard ([email protected])