Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ glcmeasurestring(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



glcMeasureString(3G)      OpenGL Character Renderer       glcMeasureString(3G)



NAME
     glcMeasureString - measure a specified string


C SPECIFICATION
     GLint glcMeasureString( GLboolean inMeasureChars,
                             const GLCchar *inString )


PARAMETERS
     inMeasureChars  Specifies whether to compute metrics only for the string
                     or for the characters as well.

     inString        Specifies a zero-terminated array of characters.

DESCRIPTION
     glcMeasureString measures the layout that would result from rendering a
     string and stores the measurements in the GLC measurement buffer.
     glcMeasureString is identical to glcMeasureCountedString except that
     inString is zero-terminated, not counted.

ERRORS
     GLCPARAMETERERROR is generated if inMeasureChars is less than zero.

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

ASSOCIATED GETS
     glcGetStringCharMetric
     glcGetStringMetric
     glcGeti with argument GLCMEASUREDCHARCOUNT
























                                                                        Page 1



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