From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id LAA12571; Tue, 28 Jan 2003 11:44:03 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id LAA12522 for ; Tue, 28 Jan 2003 11:44:02 +0100 (MET) Received: from madiran.inria.fr (madiran.inria.fr [128.93.8.77]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h0SAi2r21361 for ; Tue, 28 Jan 2003 11:44:02 +0100 (MET) Received: from madiran.inria.fr ([128.93.8.77] helo=localhost ident=furuse) by madiran.inria.fr with esmtp (Exim 3.35 #1 (Debian)) id 18dTDk-00028t-00; Tue, 28 Jan 2003 11:44:00 +0100 Date: Tue, 28 Jan 2003 11:43:59 +0100 (CET) Message-Id: <20030128.114359.74742729.Jun.Furuse@inria.fr> To: morelli@cs.utah.edu Cc: caml-list@inria.fr Subject: Re: [Caml-list] Displaying Postscript? From: "Jun P. FURUSE" In-Reply-To: <1043489812.1395.7.camel@samantha> References: <1043489812.1395.7.camel@samantha> X-URL: http://pauillac.inria.fr/~furuse/ X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.1 (AOI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello, > I'm working on an OCaml application which I'd like > to do the following: load an existing postscript > file from disk, launch a window in which the > document is displayed, and allow the user to select a > rectangle on a page of the document using the mouse > (and of course have access to the bounds of the rectangle > within the application). What libraries/tools are > available to do such a thing? One possibility is a combination of LablGtk and Camlimages LablGtk provides a GUI and Camlimages is for image file manipulation. Maybe you can also use gdkpixbuf interface of LablGtk instead of Camlimages, but I am not really sure. LablGtk: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk/ Camlimages: http://pauillac.inria.fr/camlimages/ ----------------------------------------------------------------------- Jun P. Furuse Jun.Furuse@inria.fr ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners