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 WAA02771; Tue, 9 Jul 2002 22:38:21 +0200 (MET DST) 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 WAA02613 for ; Tue, 9 Jul 2002 22:38:20 +0200 (MET DST) Received: from mail.libertysurf.net (mail.libertysurf.net [213.36.80.91]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g69KcKr25228 for ; Tue, 9 Jul 2002 22:38:20 +0200 (MET DST) Received: from gros (213.36.8.143) by mail.libertysurf.net (5.1.053) id 3D1C469900128ADA for caml-list@inria.fr; Tue, 9 Jul 2002 22:39:13 +0200 Received: from matt by gros with local (MasqMail 0.0.12) id 17S1n1-0QR-00 for caml-list@inria.fr; Tue, 09 Jul 2002 22:40:51 +0200 Date: Tue, 9 Jul 2002 22:40:51 +0200 From: Matthieu Dubuget To: caml-list@inria.fr Subject: [Caml-list] Wich solution for a fast powerfull drawing area ? Message-ID: <20020709224051.A1618@libertysurf.fr> Reply-To: matthieu.dubuget@libertysurf.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello, I'm looking at ocaml as the language to make ultrasonic programs. The difficult part for me is the scientific imaging. I will have to show waveforms (typically 1024 points long) and colormaps (1024 * 100 * 256 levels of color for example) at comfortable speed (I mean more than 20 Hz). I tried to use lablgtk and camlimage starting from the examples, but didn't achieve to get a area in wich I can draw all what I want... Starting from the lablgtk drawing.ml example, I was not able to chose/create RGB colors. My feeling is that there is something to do to have the right colormap or extend it ? I would appreciate any suggestion to progress. I would need: * to be able to draw and change the colors, * a very nice point would be to have transparency, in order to be able to implement layers in graphical widgets (composite widgets in ocaml, or gtk widget in C + binding ?) * the ability to manipulate some decorations on the graphic with the mouse (event handling) * and certainly a lot more... Well, all this is not so far from the canvas widget (Tk, Gnome). Thanks in advance Matthieu Dubuget ------------------- 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