This chapter describes the portable graphics primitives that come standard in the implementation of Caml Light on micro-computers. The graphics primitive are available from the standalone application that runs the toplevel system. They are not available from programs compiled by camlc and run under the MPW shell. The graphics primitive are available from the Windows application that runs the toplevel system. They are not available from programs compiled by camlc and run in a DOS command window.
Drawing takes place in a separate window.
The screen coordinates are interpreted as shown in the figure below. Drawing is clipped to the screen. The two components are separated by a space. Either can be omitted, or both. Show the graphics window or switch the screen to graphic mode.