winposition(3G) winposition(3G)
winposition - changes the size and position of the current graphics
window
void winposition(x1, x2, y1, y2)
long x1, x2, y1, y2;
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.
winposition 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.
prefposition, prefsize, winmove
This routine is available only in immediate mode.
PPPPaaaaggggeeee 1111 [ Back ]
|