Version française
Home     About     Download     Resources     Contact us    
Browse thread
Open Graphics on Windows
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: ygrek <ygrekheretix@g...>
Subject: Re: [Caml-list] Open Graphics on Windows
On Fri, 26 Mar 2010 10:07:34 -0300
"Marcel @ DIMAp" <marcel@dimap.ufrn.br> wrote:

> I am running Windows XP and I am trying to open a window with dimension 20 x
> 20. I have tried many approaches and all of them open a window but not with
> the dimension specified. The command I am using to open this window is 
> 
> Graphics.open_graph ":0 10x10+50-0";;

The format of this string is implementation defined.
On windows the following format is recognized - "%dx%d+%d+%d"
See otherlibs/win32graph/open.c

And keep in mind http://caml.inria.fr/mantis/view.php?id=4755

-- 
 ygrek
 http://ygrek.org.ua