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

  man pages->IRIX man pages -> standard/getdescender (3)              
Title
Content
Arch
Section
 

Contents


getdescender(3G)					      getdescender(3G)


NAME    [Toc]    [Back]

     getdescender - returns the	character characteristics

C SPECIFICATION    [Toc]    [Back]

     long getdescender();

PARAMETERS    [Toc]    [Back]

     none

FUNCTION RETURN	VALUE
     The returned value	of this	function is the	length (in pixels) of the
     longest descender in the current font.

DESCRIPTION    [Toc]    [Back]

     getdescender returns the maximum distance (in pixels) between the
     baseline of a character and the bottom of the bitmap for that character.

     Each character in a font is defined using a bitmap	that is	displayed
     relative to the current character position.  Vertical placement of	each
     character is done using the current character position as the baseline or
     the line on the page.  The	portion	of a character that extends below the
     baseline is called	a descender.  The lowercase characters g and p
     typically have descenders.

SEE ALSO    [Toc]    [Back]

      
      
     getfont, getheight, strwidth

NOTE    [Toc]    [Back]

     This routine is available only in immediate mode.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
getcpos IRIX returns the current character position
DXmCSTextPosToXY Tru64 Retrieves (returns) the x and y position of a specified character in the text.
iachar IRIX Returns the position of a character in the ASCII collating sequence
DXmCSTextGetLastPosition Tru64 Retrieves (returns) the logical position of the last character in the text.
achar IRIX Returns the character in a specified position of the ASCII collating sequence
getheight IRIX returns the maximum character height in the current raster font
DXmCSTextGetTopPosition Tru64 Retrieves (returns) the logical position of the first character in the displayed text.
trim IRIX Returns the character argument with trailing blank characters removed
XmStringBaseline Tru64 A compound string function that returns the number of pixels between the top of the character box an...
trimlen IRIX Returns the length of a character argument without counting trailing blanks
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service