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

  man pages->IRIX man pages -> fmchrwid (3w)              
Title
Content
Arch
Section
 

Contents


FMGETCHRWIDTH(3W)					     FMGETCHRWIDTH(3W)


NAME    [Toc]    [Back]

     fmgetchrwidth - return the	width of a character

SYNOPSIS    [Toc]    [Back]

     #include <fmclient.h>

     long fmgetchrwidth(fh, ch)
     fmfonthandle fh;
     unsigned char ch;

DESCRIPTION    [Toc]    [Back]

     fmgetchrwidth returns the number of pixels	(in the	x dimension) by	which
     the current character position moves when you image the specified
     character.	This value is rounded to an integer (for some fonts,
     characters	can have subpixel dimensions).	If the specified character
     glyph does	not exist, the width of	a space	is returned.  If a space does
     not exist,	the width of the font is returned.

SEE ALSO    [Toc]    [Back]

      
      
     fminit(3W)

NOTE    [Toc]    [Back]

     This routine is available only in immediate mode.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
fmstrwid IRIX return the width of a string in pixels
wcswidth Tru64 Determine the display width of wide-character strings
glcgetfontmap IRIX return the string name of a character
glcgetmastermap IRIX return the string name of a character in a master
XmTextGetCenterline HP-UX Return the height (length) of a character string when the writing direction is vertical
linewidth IRIX specifies width of lines
DXmSvnSetComponentWidth Tru64 Sets the width of a component.
glLineWidth Tru64 specify the width of rasterized lines
gllinewidth IRIX specify the width of rasterized lines
strwidth IRIX returns the width of the specified text string
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service