From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 32079BBAF for ; Fri, 26 Mar 2010 22:31:03 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApABAPrDrEtIDtyekGdsb2JhbACRD4oTCBUBAQEBCQkMBxMDH4ghpxqBaYU4LohLAQEDBQiEcQQ X-IronPort-AV: E=Sophos;i="4.51,316,1267398000"; d="scan'208";a="56007798" Received: from fg-out-1718.google.com ([72.14.220.158]) by mail1-smtp-roc.national.inria.fr with ESMTP; 26 Mar 2010 22:31:02 +0100 Received: by fg-out-1718.google.com with SMTP id e12so2527677fga.3 for ; Fri, 26 Mar 2010 14:31:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=VIkXCIaOzfjBUSIVSJzuW8gJiExkLavHYK6x/LK7gig=; b=j7VYuOQnt5mHrDOo/suJNwecvR7V2IpnG5zQpwgLFdU0ZS8xALhyfyklzOyOE2jNxf vs3m6rHg4z2nrkr2R/JnHZ+hKg87nDFJHthEpwku8BEFZNCIwAjVN4Wz/gpI/xhpwCHu 7DK2K/mT2f2ygrMf3ByUi7RNc6dLdovhOa6VY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=e5c6FqeyHYwffQnmOdwlywlEoL6STFZM6aw9Df+dNF3SEhvmr5T8rzRur+Gv/lpzmN 5epa74uxrJC2jY7BCFiOBITeBSQ8qyWpf+uQ/mgT6giYN7BMzM2EN/aXqpx+q6ZVVQoJ gjzEbdAkHo45b2rHH+5EyKsWXlOWdrB314lxQ= Received: by 10.87.47.3 with SMTP id z3mr2232782fgj.70.1269639062500; Fri, 26 Mar 2010 14:31:02 -0700 (PDT) Received: from lemon (233-184-132-95.pool.ukrtel.net [95.132.184.233]) by mx.google.com with ESMTPS id 4sm2222651fgg.12.2010.03.26.14.31.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 26 Mar 2010 14:31:01 -0700 (PDT) Date: Fri, 26 Mar 2010 23:30:58 +0200 From: ygrek To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Open Graphics on Windows Message-Id: <20100326233058.bc50bc46.ygrekheretix@gmail.com> In-Reply-To: <005001cacce5$4cf32260$e6d96720$@ufrn.br> References: <005001cacce5$4cf32260$e6d96720$@ufrn.br> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.18.6; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; otherlibs:01 wrote:01 graph:01 graph:01 caml-list:01 caml:02 defined:02 graphics:02 graphics:02 string:02 fri:05 inria:06 approaches:09 recognized:88 php:87 On Fri, 26 Mar 2010 10:07:34 -0300 "Marcel @ DIMAp" 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