glutstrokelength(3) centos man page | unix.com

Man Page: glutstrokelength

Operating Environment: centos

Section: 3

UNTITLED
LOCAL UNTITLED
NAME
glutStrokeLength -- Returns model space width of a string in a given font.
LIBRARY
OpenGLUT - fonts
SYNOPSIS
#include <openglut.h> float glutStrokeLength(void *fontID, const unsigned char *string);
PARAMETERS
fontID A GLUT stroked font identifier. string A C-style (NUL-terminated) string.
DESCRIPTION
This function reports the sum of the widths of the characters in a string, using the font metrics of a given font. Like glutStrokeString(), glutStrokeLength() respects newlines in the input. Returns 0 if: - The fontID is out of range. - The string is NULL. - All characters in the string are zero-width.
CAVEATS
Refer to glutStrokeWidth() for notes on the nature of this function's return value, and for comparisons to old GLUT and freeglut.
SEE ALSO
glutStrokeString(3) glutStrokeWidth(3) glutStrokeHeight(3) glutBitmapLength(3) Epoch
Related Man Pages
glutstrokecharacter(3glut) - mojave
glutstrokecharacter(3glut) - redhat
glutsetcursor(3) - centos
pdf::api2::resource::basefont(3pm) - debian
printer_create_font(3) - php
Similar Topics in the Unix Linux Community
Weird 'find' results
How to increment version inside a file?
Docker learning Phase-I
Unsure why access time on a directory change isn't changing
Controlling user input