Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ glcgetmaxcharmetric(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



glcGetMaxCharMetric(3G)   OpenGL Character Renderer    glcGetMaxCharMetric(3G)



NAME
     glcGetMaxCharMetric - measure layout of characters


C SPECIFICATION
     GLfloat* glcGetMaxCharMetric( GLCenum inMetric,
                                   GLfloat *outVec )


PARAMETERS
     inMetric  Specifies the metric to measure, either GLCBASELINE or
               GLCBOUNDS.

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


DESCRIPTION
     glcGetMaxCharMetric measures the layout that would result from rendering
     all mapped characters at the same origin. This contrasts with
     glcGetStringCharMetric, which measures characters as part of a string,
     that is, influenced by kerning, ligatures, and so on.

     The command stores the value of the metric identified by inMetric in
     outVec. Currently, you can choose from GLCBASELINE and GLCBOUNDS. If
     you choose GLCBOUNDS, the vector returned in outVec starts at the lower
     left corner and continues in a counterclockwise direction.

     If the command does not raise an error, its return value is outVec.

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

SEE ALSO
     glcGetCharMetric, glcGetStringCharMetric, glcMeasureCountedString,
     glcMeasureString


















                                                                        Page 1



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