[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Fabrice Le Fessant <fabrice.le_fessant@i...> |
| 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