Version française
Home     About     Download     Resources     Contact us    
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: Pierre Weis <pierre.weis@i...>
Subject: Re: [Caml-list] Graphics without open_graph?
> Interesting in the Graphics-Lib is, that the names of the
> graphics-functions are the same as in PostScript.
> It would be nice to have the possibility to directly
> write PostScript-Files with that Library too. :)
> 
> Ciao,
>    Oliver

Hi,

This possibility exists since 1 or 2 years with the Graphps module
which is distributed in the Caml bazar.

Furthermore this library has a (tiny) website of its own!
(Have a look to http://pauillac.inria.fr/graphps/)

It is fully documented and can be used as a replacement of the
Graphics module; then your program will generate a postscript (or
encapsulated postscript file) instead of drawing on the screen.

Get the library at the used place, file graphps-1.0.tgz:

ftp.inria.fr/lang/caml-light/bazar-ocaml/

(Caml Light users may find it in .../bazar-cl/graphps/graphps-1.0.tgz)

Hence, with Graphps, a program using the Graphics library not only can
work without any window manager, but it can even work on a computer
without screen! (Not a crazy idea by the way: I've done it once to
generate images from home, telneting on an INRIA destop that was
running a program using graphps :)

The library is mature, but any new idea, remark, enhancement, or, even
better, any code contribution is warmly welcomed.

Enjoy!

PS: Sorry for the late answer, I don't have time to read the Caml-list
these days!

Pierre Weis

INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis/


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