"D WxHsXsY"
, where
D
stands for the ``DISPLAY'', the address of the
device used to handle the screen (if omitted the default display is assumed).
" WxHsXsY"
describe the screen geometry.
W
is an integer value: the width of the window
in pixels.
H
is an integer value: the height of the window
in pixels.
x
is a mandatory separator between
W
and H
.
X
and Y
are integers that
precise the window position into the screen, indicating the
distances between the edges of the window and the edges of the screen.
s
is a sign +
or -
:
+
: the following displacement is with respect
to the left edge of the screen (for x coordinate) or with respect to top
edge of the screen (for y coordinates).
-
: same as above with right and bottom
instead of left and top.
open_graph " 640x480+100-0";;
connects to the default
display and creates a window 640 pixels wide by 480 pixels tall, at
location (100,0).
open_graph "latour:0.0";;
connects to the display
latour:0.0
(presumably the root window of the machine
named latour
) to open a window with default display.
"LxH+X+Y"
.
L
is an integer that measures the width of
the window (in pixels).
H
is an integer that measures the height of
the window (in pixels).
x
is a mandatory separator between width and height.
X
and Y
are two integer values that
precise the window position into the screen, indicating the
distances between the edges of the window and the edges of the screen.
"L"
and "H"
are omitted, they are
supposed to be (600, 400)
. If X
and
Y
are omitted, they are
supposed to be (10, 10)
.
Contact the author Pierre.Weis@inria.fr