*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> OpenGL-GLC/glcgetfontlistc (3)              
Title
Content
Arch
Section
 

Contents


glcGetFontListc(3G)	  OpenGL Character Renderer	   glcGetFontListc(3G)


NAME    [Toc]    [Back]

     glcGetFontListc - return an attribute of a	font

C SPECIFICATION    [Toc]    [Back]

     const GLCchar* glcGetFontListc( GLint inFont,
				     GLCenum inAttrib,
				     GLint inIndex )

PARAMETERS    [Toc]    [Back]

     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    [Toc]    [Back]

     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    [Toc]    [Back]

     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    [Toc]    [Back]

      
      
     glcGetFontc, glcGetFonti


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
glcgetfontc IRIX return a string attribute of a font
glcgetfonti IRIX return an integer attribute of a font
fmfontna IRIX return the name associated with a font
fmcommen IRIX return a comment associated with a font
fmfontin IRIX return information about the overall font
fmwhole IRIX return information about each of the characters in a font
fmgetcacheused IRIX return the number of bytes used by the font cache
fmcachelimit IRIX return current font cache limit in quanta
glcgetmasterlistc IRIX return attribute of master
glcgetmasteri IRIX return the value of a master's attribute
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service