<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2002/07/235b6d01ac3436001b15edcd52ef8cea"
  from="Matthieu Dubuget &lt;matthieu.dubuget@l...&gt;"
  author="Matthieu Dubuget"
  date="2002-07-09T20:38:21"
  subject="[Caml-list] Wich solution for a fast powerfull drawing area ?"
  prev="2002/07/892807020cb1f5aa502f745413e9a8b7"
  next="2002/07/eb7e65c65029f1e6bf7b5106092b9fba"
  next-in-thread="2002/07/048a36a5e6c5eed10c7593af800f3b07"
  prev-thread="2002/07/44bb761bf353031a2a1eed29d5966ee0"
  next-thread="2002/07/eb7e65c65029f1e6bf7b5106092b9fba"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Wich solution for a fast powerfull drawing area ?">
<msg 
  url="2002/07/235b6d01ac3436001b15edcd52ef8cea"
  from="Matthieu Dubuget &lt;matthieu.dubuget@l...&gt;"
  author="Matthieu Dubuget"
  date="2002-07-09T20:38:21"
  subject="[Caml-list] Wich solution for a fast powerfull drawing area ?">
<msg 
  url="2002/07/048a36a5e6c5eed10c7593af800f3b07"
  from="Jean-Christophe Filliatre &lt;Jean-Christophe.Filliatre@l...&gt;"
  author="Jean-Christophe Filliatre"
  date="2002-07-10T08:02:08"
  subject="Re: [Caml-list] Wich solution for a fast powerfull drawing area ?">
</msg>
</msg>
</thread>

<contents>
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

</contents>

</message>

