glcgetcharmetric man page on IRIX

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



glcGetCharMetric(3G)	  OpenGL Character Renderer	  glcGetCharMetric(3G)

NAME
     glcGetCharMetric - measure a character

C SPECIFICATION
     GLfloat* glcGetCharMetric( GLint inCode,
				GLCenum inMetric,
				GLfloat *outVec )

PARAMETERS
     inCode    Specifies the character to measure.

     inMetric  Specifies the metric to measure, either GLC_BASELINE or
	       GLC_BOUNDS.

     outVec    Specifies a vector in which to store value of inMetric for the
	       specified character.

DESCRIPTION
     glcGetCharMetric is identical to glcRenderChar but instead of rendering
     the character that inCode is mapped to, glcGetCharMetric only measures
     the baseline or bounds (depending on inMetric) of the character.
     glcGetCharMetric stores the value of the baseline (or bounds) in outVec.

     If inMetric is GLC_BOUNDS, a vector of eight values is returned in
     outVec. The vector starts in the lower left corner and continues in a
     counterclockwise direction.

ERRORS
     GLC_STATE_ERROR is generated if the issuing thread has no current GLC
     context.

SEE ALSO
     glcGetMaxCharMetric, glcGetStringCharMetric, glcMeasureCountedString,
     glcMeasureString

									Page 1

[top]

List of man pages available for IRIX

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