Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ glcgetfontlistc(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



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



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 GLCFACELIST.

     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

     GLCCHARLIST            GLCCHARCOUNT

     GLCFACELIST            GLCFACECOUNT

ERRORS
     GLCPARAMETERERROR is generated if inFont is not the ID of a font.

     GLCPARAMETERERROR is generated if inIndex is less than zero or is
     greater than or equal to the value of the list's element count.

     GLCSTATEERROR is generated if the issuing thread has no current GLC
     context.

SEE ALSO
     glcGetFontc, glcGetFonti






                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026