package gr

  1. Overview
  2. Docs

Module Gr.GraphicsSource

Sourcetype t
Sourceval 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.
Sourceval endg : unit -> unit
Sourceval get : unit -> t
Sourceval draw : t -> int
Sourceval import : string -> int