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

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

Contents


FMGETSTRWIDTH(3W)					     FMGETSTRWIDTH(3W)


NAME    [Toc]    [Back]

     fmgetstrwidth - return the	width of a string in pixels

SYNOPSIS    [Toc]    [Back]

     #include <fmclient.h>

     long fmgetstrwidth(fh, str)
     fmfonthandle fh;
     char *str;

DESCRIPTION    [Toc]    [Back]

     fmgetstrwidth returns the number of pixels	the string occupies in the x
     dimension.	 It uses the subpixel resolution provided in the glyph widths
     as	it accumulates the width.  If fmgetstrwidth fails, the return value is
     set to -1.

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
fmchrwid IRIX return the width of a character
dmFXGetDataPtr IRIX return a pointer to the pixels stored in a DMfxbuffer
strwidth IRIX returns the width of the specified text string
lstrwidth IRIX returns the width of the specified text string
XmStringWidth HP-UX A compound string function that returns the width of the widest line in a compound string
XmStringWidth Tru64 A compound string function that returns the width of the longest sequence of text components in a co...
XmStringBaseline Tru64 A compound string function that returns the number of pixels between the top of the character box an...
XmStringBaseline HP-UX A compound string function that returns the number of pixels between the top of the character box and the base
XmStringBaseline IRIX A compound string function that returns the number of pixels between the top of the character box and the base
XmStringWidth IRIX A compound string function that returns the width of the longest sequence of text components in a compound str
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service