reshapeviewport() — Silicon Graphics Silicon Graphics
NAME
reshapeviewport - sets the viewport to the current dimensions of the graphport in the window manager
SPECIFICATION
C
reshapeviewport()
FORTRAN
subroutine reshap
Pascal
procedure reshapeviewport;
DESCRIPTION
reshapeviewport sets the viewport to the current dimensions of the graphport. reshapeviewport is equivalent to:
{
int xmin, xmax, ymin, ymax;
getorigin(&xmin, &ymin);
getsize(&xmax, &ymax);
xmax += xmin -1;
ymax += ymin -1;
viewport(xmin, xmax, ymin, ymax);
}
SEE ALSO
getorigin, getsize, viewport
NOTE
This command can be used only in immediate mode.
Version 2.3 — July 04, 1985