glcGetCharMetric(3G) OpenGL Character Renderer glcGetCharMetric(3G)
glcGetCharMetric - measure a character
GLfloat* glcGetCharMetric( GLint inCode,
GLfloat *outVec )
inCode Specifies the character to measure.
inMetric Specifies the metric to measure, either GLC_BASELINE or
outVec Specifies a vector in which to store value of inMetric for the
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
GLC_STATE_ERROR is generated if the issuing thread has no current GLC
glcGetMaxCharMetric, glcGetStringCharMetric, glcMeasureCountedString,
PPPPaaaaggggeeee 1111 [ Back ]