glcGetMasterMap(3G) OpenGL Character Renderer glcGetMasterMap(3G)
glcGetMasterMap - return the string name of a character in a master
const GLCchar* glcGetMasterMap( GLint inMaster,
GLint inCode )
inMaster Specifies the integer ID of the master from which to select the
character.
inCode Specifies the integer ID of the character in the master map.
glcGetMasterMap returns the string name of the character that the master
identified by inMaster maps inCode to.
Every master has associated with it a master map, which is a table of
entries that map integer values to the name string that identifies the
character.
Every character code used in GLC is an element of the Universal
Multiple-Octet Coded Character Set (UCS) defined by the standards ISO/IEC
10646-1:1993 and Unicode 2.0 (unless otherwise specified). A UCS code is
denoted as U+hexcode, where hexcode is a sequence of hexadecimal digits.
Each UCS code corresponds to a character that has a unique name string.
For example, the code U+41 corresponds to the character LATIN CAPITAL
LETTER A.
If inCode cannot be mapped in the master, glcGetMasterMap returns
GLC_NONE.
While you cannot change the map for a master, you can change the map for
a font using glcFontMap.
GLC_STATE_ERROR is generated if the issuing thread has no current GLC
context.
glcGetMasterListc, glcGetMasterc, glcGetMasteri
PPPPaaaaggggeeee 1111 [ Back ]
|