Re: Graphics library

From: Fabrice Le Fessant (fabrice.le_fessant@inria.fr)
Date: Mon Apr 26 1999 - 10:01:53 MET DST


From: Fabrice Le Fessant <fabrice.le_fessant@inria.fr>
Date: Mon, 26 Apr 1999 10:01:53 +0200 (CEST)
To: Marc.Tajchman@cmla.ens-cachan.fr
Subject: Re: Graphics library

There is an implementation of the Graphics library of Ocaml in the
Efuns package (http://pauillac.inria.fr/efuns) which provides almost
the same interface, with some more functions, such as double
buffering:

open XGraphics;; (* instead of Graphics *)
open_graph "" 600 400;; (* instead of open_graph " 600x400" *)
set_update_stype FlushAll;;
                    (* for double-buffering, or FlushClipped for
                                           faster but not total refresh *)
.........
.........
......... (* Idem as in Graphics *)
.........

update ();;
           (* when you want to update the screen from the hidden buffer *)

Regards,

- Fabrice



This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:22 MET