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

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

Contents


linewidth(3G)							 linewidth(3G)


NAME    [Toc]    [Back]

     linewidth,	linewidthf - specifies width of	lines

C SPECIFICATION    [Toc]    [Back]

     void linewidth(n)
     short n;

     void linewidthf(n)
     float n;

PARAMETERS    [Toc]    [Back]

     n	  is the width of the line.  The width is measured in pixels and is 1
	  by default.

DESCRIPTION    [Toc]    [Back]

     linewidth specifies the width of a	line. Mathematical lines have no
     width, but	to display a line, it must be assigned a width.	 The center of
     the displayed line	is as close as possible	to the mathematical line.  If
     antialiased line drawing is not enabled, and multisample is not enabled,
     or	multisample buffers do not exist in the	current	framebuffer
     configuration in the current drawmode, n indicates	the number of pixels
     across the	minor axis of the line,	and is rounded to the nearest integer.
     Otherwise,	n indicates the	line width in units of pixels, and is rounded
     to	the nearest supported value.  For example, linewidth 0 is rounded to
     one.

     Rounding affects only the value of	n that is actually used, not the value
     that is retained.

SEE ALSO    [Toc]    [Back]

      
      
     linesmooth, setlinestyle

NOTES    [Toc]    [Back]

     The maximum width of aliased lines	is 255.

     IRIS-4D VGX model supports	antialiased line widths	1.0 and	2.0, and
     aliased line widths one through 255.  IRIS-4D G, GT, and GTX models, the
     Personal Iris, Indy, Iris Entry, XL, XS, XS24, XZ,	Elan and Extreme
     systems support antialiased line width 1.0, and aliased line widths one
     through 255.

     On	IRIS-4D	models that support resetls, it	must be	set to TRUE to obtain
     reasonable	results	with line widths greater than one.

     In	order to select	or pick	a wide line in selecting or picking mode
     respectively, the selecting region	must intersect the displayed line
     center.  This center is the imaginary line	of width 1 specified by	the
     same end vertices as the displayed	line.  In case of a very wide line,
     you may want to consider drawing a	filled rectangle instead.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
gllinewidth IRIX specify the width of rasterized lines
glLineWidth Tru64 specify the width of rasterized lines
fold OpenBSD fold long lines for finite width output device
fold FreeBSD fold long lines for finite width output device
fold IRIX fold long lines for finite width output device
fold HP-UX fold long lines for finite width output device
rnlecho IRIX Specifies output unit for NAMELIST error messages and echo lines
paste IRIX merge same lines of several files or subsequent lines of one file
paste Tru64 Joins corresponding lines of several files or subsequent lines in one file
paste HP-UX merge same lines of several files or subsequent lines of one file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service