rectf(3G) rectf(3G)
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
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.
SEE ALSO
polf, rect, rdr, rmv
Programming Guide, Section 3.5, Rectangles
Page 1 (printed 8/20/87)