winpos(3G)winpos(3G)NAMEwinpos - changes the size and position of the current graphics window
FORTRAN 77 SPECIFICATION
subroutine winpos(x1, x2, y1, y2)
integer*4 x1, x2, y1, y2;
PARAMETERS
x1 expects the x screen coordinate (in pixels) of the first corner of
the new location for the current graphics window. The first corner
of the new window is the corner diagonally opposite the second
corner.
x2 expects the x screen coordinate (in pixels) of the second corner of
the new location for the current graphics window.
y1 expects the y screen coordinate (in pixels) of the first corner of
the new location for the current graphics window.
y2 expects the y screen coordinate (in pixels) of the second corner of
the new location for the current graphics window.
DESCRIPTIONwinpos moves and reshapes the current graphics window to match the screen
coordinates x1, x2, y1, y2 (calculated in pixels). This differs from
prefpo because the reshaped window is not fixed in size and shape, and
can be reshaped interactively.
SEE ALSO
prefpo, prefsi, winmov
NOTE
This routine is available only in immediate mode.
Page 1