File api/main.wiki artifact f304938038 part of check-in 33bf933593


<h1><tt>main</tt> Module</h1>

<h2>Synopsis</h2>

<table>
	<tr>
		<th>Racket</th>
		<td><code>(require (planet murphy/canvas-draw:1:0))</code></td>
	</tr>
	<tr>
		<th>CHICKEN</th>
		<td><code>(require-extension canvas-draw)</code></td>
	</tr>
</table>

This module re-exports most bindings from the <tt>[./base.wiki|base]</tt>,
<tt>[./play.wiki|play]</tt> and <tt>[./primitives.wiki|primitives]</tt> modules.

To create canvasses you also have to import bindings from at least one of the
context modules: <tt>[./iup.wiki|iup]</tt>, <tt>[./native.wiki|native]</tt>,
<tt>[./gl.wiki|gl]</tt>, <tt>[./clipboard.wiki|clipboard]</tt>,
<tt>[./printer.wiki|printer]</tt>, <tt>[./picture.wiki|picture]</tt>,
<tt>[./server.wiki|server]</tt>, <tt>[./client.wiki|client]</tt>,
<tt>[./pdf.wiki|pdf]</tt>, <tt>[./ps.wiki|ps]</tt>, <tt>[./svg.wiki|svg]</tt>,
<tt>[./metafile.wiki|metafile]</tt>, <tt>[./debug.wiki|debug]</tt>,
<tt>[./cgm.wiki|cgm]</tt>, <tt>[./dgn.wiki|dgn]</tt>, <tt>[./dxf.wiki|dxf]</tt>,
<tt>[./emf.wiki|emf]</tt>, <tt>[./wmf.wiki|wmf]</tt>.

The foreign types and conversion procedures defined in <tt>[./base.wiki|base]</tt>
are not re-exported.