rectf() — Silicon Graphics Beta Release
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;
FORTRAN
subroutine rectf(x1, y1, x2, y2)
real x1, y1, x2, y2
subroutine rectfi(x1, y1, x2, y2)
integer*4 x1, y1, x2, y2
Pascal
procedure rectf(x1, y1, x2, y2: Coord);
procedure rectfi(x1, y1, x2, y2: Icoord);
DESCRIPTION
rectf produces a filled rectangular region, using the current texture 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 two-dimensional shape, rectf takes only 2D 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
Version 2.3 — July 04, 1985