Module Gr.Graphics

type t
val beging : t -> unit

beging path Open a file for graphics output.

beging allows to write all graphics output into a XML-formatted file until the endg functions is called. The resulting file may later be imported with the import function.

Parameters

  • path: Filename for the graphics file.
val endg : unit -> unit
val get : unit -> t
val draw : t -> int
val import : string -> int