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