glcMeasureString(3G)

glcMeasureString - measure a specified string

As shipped in IRIX 6.5.22. Unchanged since IRIX 6.5.

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
     GLC_PARAMETER_ERROR is generated if inMeasureChars is less than zero.

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

ASSOCIATED GETS
     glcGetStringCharMetric
     glcGetStringMetric
     glcGeti with argument GLC_MEASURED_CHAR_COUNT