rectf() — 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 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 (0). 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 IRIS Graphics Programming, Section 3.5, Rectangles
Version 2.5 — April 22, 1987