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

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

Contents


glcGetCharMetric(3G)	  OpenGL Character Renderer	  glcGetCharMetric(3G)


NAME    [Toc]    [Back]

     glcGetCharMetric -	measure	a character

C SPECIFICATION    [Toc]    [Back]

     GLfloat* glcGetCharMetric(	GLint inCode,
				GLCenum	inMetric,
				GLfloat	*outVec	)

PARAMETERS    [Toc]    [Back]

     inCode    Specifies the character to measure.

     inMetric  Specifies the metric to measure,	either GLC_BASELINE or
	       GLC_BOUNDS.

     outVec    Specifies a vector in which to store value of inMetric for the
	       specified character.

DESCRIPTION    [Toc]    [Back]

     glcGetCharMetric is identical to glcRenderChar but	instead	of rendering
     the character that	inCode is mapped to, glcGetCharMetric only measures
     the baseline or bounds (depending on inMetric) of the character.
     glcGetCharMetric stores the value of the baseline (or bounds) in outVec.

     If	inMetric is GLC_BOUNDS,	a vector of eight values is returned in
     outVec. The vector	starts in the lower left corner	and continues in a
     counterclockwise direction.

ERRORS    [Toc]    [Back]

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

SEE ALSO    [Toc]    [Back]

      
      
     glcGetMaxCharMetric, glcGetStringCharMetric, glcMeasureCountedString,
     glcMeasureString


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
glcmeasurestring IRIX measure a specified string
units Tru64 Converts units from one measure to another
glcgetmaxcharmetric IRIX measure layout of characters
fold_string_w Tru64 maps one wide-character string to another, performing the specified Unicode character transformation
wins_wch Tru64 Insert a complex character and rendition before the character under the cursor in a Curses window
mvins_wch Tru64 Insert a complex character and rendition before the character under the cursor in a Curses window
curs_ins_wch Tru64 Insert a complex character and rendition before the character under the cursor in a Curses window
ins_wch Tru64 Insert a complex character and rendition before the character under the cursor in a Curses window
mvwins_wch Tru64 Insert a complex character and rendition before the character under the cursor in a Curses window
fcd IRIX Constructs a Cray character pointer in Fortran character Descriptor (FCD) format
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service