glutStrokeCharacter man page

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)

Referenced By

glutBitmapCharacter(3), glutStrokeHeight(3), glutStrokeString(3), glutStrokeWidth(3).

August 9, 2018