Tao.FreeGlut SDK Documentation

Glut.glutStrokeWidth Method 

Returns the width of a stroke character.

[Visual Basic]
Public Shared Function glutStrokeWidth( _
   ByVal font As IntPtr, _
   ByVal character As Integer _
) As Integer
[C#]
public static int glutStrokeWidth(
   IntPtr font,
   int character
);

Parameters

font
Stroke font to use. For valid values see the glutStrokeCharacter description.
character
Character to return width of (not confined to 8 bits).

Return Value

Returns the width in pixels of a stroke character in a supported stroke font.

Remarks

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

Glut Class | Tao.FreeGlut Namespace | glutBitmapWidth | glutStrokeCharacter