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

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

Contents


strwidth(3G)							  strwidth(3G)


NAME    [Toc]    [Back]

     strwidth, lstrwidth - returns the width of	the specified text string

C SPECIFICATION    [Toc]    [Back]

     long strwidth(str)
     String str;

     long lstrwidth(type,str)
     long type;
     void *str;

PARAMETERS    [Toc]    [Back]

     type      expects the type	of this	string.	 See the man page for charstr
	       for a description of the	type argument.

     str       expects the pointer to the string to be measured.

DESCRIPTION    [Toc]    [Back]

     strwidth and lstrwidth return the width of	a text string in pixels, using
     the character spacing parameters of the current raster font.  These
     functions are useful when doing a simple mapping from screen space	to
     world space.

     Undefined characters have zero width.

SEE ALSO    [Toc]    [Back]

      
      
     charstr, deflfont,	defrasterfont, getlwidth, lcharstr, mapw, mapw2

NOTE    [Toc]    [Back]

     These routines are	available only in immediate mode.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
XmStringWidth Tru64 A compound string function that returns the width of the longest sequence of text components in a co...
XmStringWidth IRIX A compound string function that returns the width of the longest sequence of text components in a compound str
XmStringWidth HP-UX A compound string function that returns the width of the widest line in a compound string
DXmCSTextGetMaxLength Tru64 Retrieves (returns) current maximum allowable length of the text in the compound string text widget.
DXmSvnGetComponentWidth Tru64 Retrieves (returns) the width of a specified component.
DXmCSTextNumLines Tru64 Retrieves (returns) the number of visible lines in the compound string text widget.
XmMapSegmentEncoding IRIX A compound string function that returns the compound text encoding format associated with the specified font l
XmMapSegmentEncoding HP-UX A compound string function that returns the compound text encoding format associated with the specified font l
XmMapSegmentEncoding Tru64 A compound string function that returns the compound text encoding format associated with the specif...
fmstrwid IRIX return the width of a string in pixels
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service