Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rectf(3G) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

rectf(3G)  —  Silicon Graphics

NAME

rectf − fills a rectangular area

SPECIFICATION

C
rectf(x1, y1, x2, y2)
Coord x1, y1, x2, y2;

rectfi(x1, y1, x2, y2)
Icoord x1, y1, x2, y2;

rectfs(x1, y1, x2, y2)
Scoord x1, y1, x2, y2;

FORTRAN
subroutine rectf(x1, y1, x2, y2)
real x1, y1, x2, y2

subroutine rectfi(x1, y1, x2, y2)
integer*4 x1, y1, x2, y2

subroutine rectfs(x1, y1, x2, y2)
integer*2 x1, y1, x2, y2

Pascal
procedure rectf(x1, y1, x2, y2: Coord);

procedure rectfi(x1, y1, x2, y2: Icoord);

procedure rectfs(x1, y1, x2, y2: Scoord);
 

DESCRIPTION

rectf produces a filled rectangular region, using the current pattern, color, and writemask.  The sides of the rectangle are parallel to the x and y axes of the object coordinate system.  Since a rectangle is a 2-D shape, rectf takes only 2-D arguments and sets the z coordinate to zero.  The points (x1, y1) and (x2, y2) are the opposite corners of the rectangle.  The current graphics position is set to (x1, y1) after the region is drawn. 

In backface mode, you must specify the lower-left and upper-right corners. 

SEE ALSO

polf, rect, rdr, rmv Programming Guide, Section 3.5, Rectangles

Version 3.6  —  December 20, 1987

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026