glcGetStringMetric(3G) OpenGL Character Renderer glcGetStringMetric(3G)
glcGetStringMetric - return a string metric
GLfloat* glcGetStringMetric( GLCenum inMetric,
GLfloat *outVec )
inMetric Specifies the string to be measured.
outVec Specifies a vector in which the metric is stored.
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.
GLC_PARAMETER_ERROR is generated if inMetric is less than zero or is
greater than or equal to the value of the variable
GLC_MEASURED_CHAR_COUNT.
GLC_STATE_ERROR is generated if the issuing thread has no current GLC
context.
glcGetCharMetric, glcGetMaxCharMetric, glcGetStringCharMetric,
glcMeasureCountedString, glcMeasureString
PPPPaaaaggggeeee 1111 [ Back ]
|