English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    
Browse thread
[Caml-list] Graphics without open_graph?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jun P.FURUSE <Jun.Furuse@i...>
Subject: Re: [Caml-list] Graphics without open_graph?
Hello,

> I've written a caml-top program whose output includes graphics generated
> via Graphics module and camlimages.
> I'm making this program accessible through a web site and I would like
> to also include the graphic output. The problem is that the program will
> be running non-interactive under a non graphic environment.
> So the question is: would it be possible to use the same graphics code?
> what to adapt?

I guess that you want to use drawing functions (lines, circles...) 
available inside Graphics, without opening the graphic window, and
obtain results as some graphic file format.

If my guess is correct, unfortunatelly, the drawing function of the
Graphics library highly depends on those of the window system (X on
Unix, for example). Using these functions without windowing systems is
impossible at this moment.

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