glutstrokecharacter(3) - Linux man page

Name

glutStrokeCharacter - Draw a stroked character.

Library

OpenGLUT - fonts

Synopsis

#include <openglut.h>

void

glutStrokeCharacter(void *fontID, int character);

Parameters

fontID A GLUT stroked font identifier.

character An ASCII character other than NUL.

Description

This function draws one character from one stroked font (selected by fontID) using OpenGL GL_LINE_STRIP. These characters are drawn at the origin in model space. The the model space origin is translated at the end, according to the character width in fontID.

Does nothing if: - The fontID is invalid. - The character is out of the font's range.

See Also

glbegin(3) gltranslatef(3) glutstrokewidth(3) glutstrokestring(3) glutstrokeheight(3) glutbitmapcharacter(3)

BSD Epoch BSD