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

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

Contents


rect(3G)							      rect(3G)


NAME    [Toc]    [Back]

     rect, recti, rects	- outlines a rectangular region

C SPECIFICATION    [Toc]    [Back]

     void rect(x1, y1, x2, y2)
     Coord x1, y1, x2, y2;

     void recti(x1, y1,	x2, y2)
     Icoord x1,	y1, x2,	y2;

     void rects(x1,y1, x2, y2)
     Scoord x1,	y1, x2,	y2;

     All of the	above routines are functionally	the same.  They	differ only in
     the type declarations of their parameters.

PARAMETERS    [Toc]    [Back]

     x1	  expects the x	coordinate of one of the corners of the	rectangle.

     y1	  expects the y	coordinate of one of the corners of the	rectangle.

     x2	  expects the x	coordinate of the opposite corner of the rectangle.

     y2	  expects the y	coordinate of the opposite corner of the rectangle.

DESCRIPTION    [Toc]    [Back]

     rect draws	an unfilled rectangle in the x-y plane with z assumed to be
     zero.  The	sides of the rectangle are parallel to the x and y axes.  To
     create a rectangle	that does not lie in the x-y plane, draw the rectangle
     in	the x-y	plane, then rotate and/or translate the	rectangle.

     A rectangle is drawn as a sequence	of four	line segments, and therefore
     inherits all properties that affect the drawing of	lines.	These include
     the current color,	writemask, line	width, stipple pattern,	shade model,
     line antialiasing mode, and subpixel mode.	 The stipple pattern is
     initialized to bit	zero of	the current linestyle before the rectangle is
     drawn, then shifted continuously through the segments of the rectangle.

     After rect	executes, the graphics position	is undefined.

SEE ALSO    [Toc]    [Back]

      
      
     bgnclosedline, linewidth, linesmooth, lsrepeat, rectf, sbox,
     scrsubdivide, setlinestyle, shademodel, subpixel


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
readdisplay IRIX reads a rectangular screen region, returning displayed pixel colors in a packed RGB format.
circ IRIX outlines a circle
poly IRIX outlines a polygon
ufmGetVectorOutline IRIX get vector outlines for specified characters
ufmGetExactOutline IRIX get exact outlines for specified characters
stload HP-UX Utility to load Scalable Type outlines
rectf IRIX fills a rectangular area
rectread IRIX reads a rectangular array of pixels into CPU memory
scrmask IRIX defines a rectangular screen clipping mask
viewport IRIX allocates a rectangular area of the window for an image
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service