glcGetStringMetric(3G) OpenGL Character Renderer glcGetStringMetric(3G)
NAME
glcGetStringMetric - return a string metric
C SPECIFICATION
GLfloat* glcGetStringMetric( GLCenum inMetric,
GLfloat *outVec )
PARAMETERS
inMetric Specifies the string to be measured.
outVec Specifies a vector in which the metric is stored.
DESCRIPTION
glcGetStringMetric retrieves a string from the GLC measurement buffer,
measures it, and stores the result in outVec.
To store a string in the measurement buffer, call glcMeasureCountedString
or glcMeasureString.
If glcGetStringMetric does not raise an error, its return value is
outVec.
ERRORS
GLCPARAMETERERROR is generated if inMetric is less than zero or is
greater than or equal to the value of the variable
GLCMEASUREDCHARCOUNT.
GLCSTATEERROR is generated if the issuing thread has no current GLC
context.
SEE ALSO
glcGetCharMetric, glcGetMaxCharMetric, glcGetStringCharMetric,
glcMeasureCountedString, glcMeasureString
Page 1