rectcopy(3G) — Silicon Graphics
NAME
rectcopy − copies a rectangle of pixels on the screen
SPECIFICATION
C
rectcopy(x1, y1, x2, y2, newx, newy)
Screencoord x1, y1, x2, y2, newx, newy;
FORTRAN
subroutine rectco(x1, y1, x2, y2, newx, newy)
integer*4 x1, y1, x2, y2, newx, newy
Pascal
procedure rectcopy(x1, y1, x2, y2, newx, newy:
Screencord);
DESCRIPTION
rectcopy copies a rectangular array of pixels (x1, y1, x2, y2) to another position on the screen. The point (newx, newy) defines the lower-left corner of the new window position. The current viewport and screenmask mask the drawing of the copied region.
SEE ALSO
Programming Guide, Section 3.5, Rectangles
NOTE
This routine is available only in immediate mode.
Version 3.6 — December 20, 1987