glutStrokeLength man page on RedHat

Man page or keyword search:  
man Server   29550 pages
apropos Keyword Search (all sections)
Output format
RedHat logo
[printable version]

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
[top]

List of man pages available for RedHat

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net