glcGetFontListc(3G)
glcGetFontListc - return an attribute of a font
As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.
NAME glcGetFontListc - return an attribute of a font C SPECIFICATION const GLCchar* glcGetFontListc( GLint inFont, GLCenum inAttrib, GLint inIndex ) PARAMETERS inFont Specifies a font. inAttrib Specifies the string list from which a string is requested. inIndex Specifies the offset from the first element of the list associated with inAttrib. DESCRIPTION glcGetFontListc returns an attribute of inFont that's a string from a string list identified by inAttrib. The command returns the string at offset inIndex from the first element in inAttrib. For example, if inFont has a face list (Regular, Bold, Italic) and inIndex is 2, then glcGetFontListc returns Italic if you query for GLC_FACE_LIST. Every GLC state variable that is a list has an associated integer element count whose value is the number of elements in the list. Below are the string list attributes associated with each GLC master and font and their element count attributes: String list attribute Element count GLC_CHAR_LIST GLC_CHAR_COUNT GLC_FACE_LIST GLC_FACE_COUNT ERRORS GLC_PARAMETER_ERROR is generated if inFont is not the ID of a font. GLC_PARAMETER_ERROR is generated if inIndex is less than zero or is greater than or equal to the value of the list's element count. GLC_STATE_ERROR is generated if the issuing thread has no current GLC context. SEE ALSO glcGetFontc, glcGetFonti