next up previous contents index
Next: 11 Geometric Object Rendering Up: 10 Font Rendering Previous: 10.3 glutStrokeCharacter

10.4 glutStrokeWidth

  glutStrokeWidth returns the width of a stroke character.

Usage

int glutStrokeWidth(GLUTstrokeFont font, int character)
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.



next up previous contents index
Next: 11 Geometric Object Rendering Up: 10 Font Rendering Previous: 10.3 glutStrokeCharacter



Mark Kilgard
Fri Feb 23 08:05:02 PST 1996