Tao.FreeGlut SDK Documentation

Glut.glutBitmapWidth Method 

Returns the width of a bitmap character.

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

Parameters

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

Return Value

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

Remarks

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

Glut Class | Tao.FreeGlut Namespace | glutBitmapCharacter | glutStrokeWidth