Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ glcgetcharmetric(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



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 GLCBASELINE or
               GLCBOUNDS.

     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 GLCBOUNDS, a vector of eight values is returned in
     outVec. The vector starts in the lower left corner and continues in a
     counterclockwise direction.

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

SEE ALSO
     glcGetMaxCharMetric, glcGetStringCharMetric, glcMeasureCountedString,
     glcMeasureString


















                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026