rectf(3) — Unix Programmer’s Manual
NAME
rectf - fill a rectangular area
SYNOPSIS
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 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 currently selected texture, color, and writemask. Since a rectangle is a two-dimensional shape, rectf takes only 2D arguments, and sets z to zero. The four arguments, x1, y1, x2, and y2, are opposite corners of the rectangle.
SEE ALSO
polf, rect
Silicon Graphics — R1c