rect(3G)
rect, recti, rects - outlines a rectangular region
As shipped in IRIX 6.5.15. Unchanged since IRIX 6.5.
NAME rect, recti, rects - outlines a rectangular region FORTRAN 77 SPECIFICATION subroutine rect(x1, y1, x2, y2) real x1, y1, x2, y2 subroutine recti(x1, y1, x2, y2) integer*4 x1, y1, x2, y2 subroutine rects(x1, y1, x2,y2) integer*2 x1, y1, x2, y2 All of the above routines are functionally the same. They differ only in the type declarations of their parameters. PARAMETERS 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 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 bgnclo, linewi, linesm, lsrepe, rectf, sbox, scrsub, setlin, shadem, subpix