glcGetCharMetric(3G)
glcGetCharMetric - measure a character
As shipped in IRIX 6.5. First release of IRIX 6.5.
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