winposition(3G)winposition(3G)NAMEwinposition - changes the size and position of the current graphics
window
C SPECIFICATION
void winposition(x1, x2, y1, y2)
long 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.
DESCRIPTIONwinposition moves and reshapes the current graphics window to match the
screen coordinates x1, x2, y1, y2 (calculated in pixels). This differs
from prefposition because the reshaped window is not fixed in size and
shape, and can be reshaped interactively.
SEE ALSO
prefposition, prefsize, winmove
NOTE
This routine is available only in immediate mode.
Page 1