GLUTSTROKECHARACTER
Section: C Library Functions (3)
Updated: LOCAL
Index
Return to Main Contents
BSD mandoc
NAME
glutStrokeCharacter
- Draw a stroked character.
LIBRARY
OpenGLUT - fonts
SYNOPSIS
In openglut.h
Ft void
Fn glutStrokeCharacter void *fontID int character
PARAMETERS
Bf Em
fontID
Ef
A GLUT stroked font identifier.
Bf Em
character
Ef
An ASCII character other than NUL.
DESCRIPTION
This function draws one
Bf Sy
character
Ef
from one stroked font
(selected by
Bf Sy
fontID)
Ef
using OpenGL
Bf Sy
GL_LINE_STRIP.
Ef
These characters
are drawn at the origin in model space.
The the model space origin is translated at the end,
according to the
Bf Sy
character
Ef
width in
Bf Sy
fontID.
Ef
Does nothing if:
- The
Bf Sy
fontID
Ef
is invalid.
- The
Bf Sy
character
Ef
is out of the font's range.
SEE ALSO
glBegin(3)
glTranslatef(3)
glutStrokeWidth(3)
glutStrokeString(3)
glutStrokeHeight(3)
glutBitmapCharacter(3)