glcMeasureString(3G) OpenGL Character Renderer glcMeasureString(3G)
glcMeasureString - measure a specified string
GLint glcMeasureString( GLboolean inMeasureChars,
const GLCchar *inString )
inMeasureChars Specifies whether to compute metrics only for the string
or for the characters as well.
inString Specifies a zero-terminated array of characters.
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.
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.
glcGetStringCharMetric
glcGetStringMetric
glcGeti with argument GLC_MEASURED_CHAR_COUNT
PPPPaaaaggggeeee 1111 [ Back ]
|