Canvas Draw

Check-in [fdc9bb094c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Documented CHICKEN 5 import syntax
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | trunk
Files: files | file ages | folders
SHA1: fdc9bb094cece73feda9f70702f1a25bb6b56478
User & Date: murphy 2018-11-08 12:58:53.284
Context
2018-11-08
12:58
Documented CHICKEN 5 import syntax Leaf check-in: fdc9bb094c user: murphy tags: trunk
2018-10-17
11:56
Added CHICKEN 5 release information check-in: f38ad2134e user: murphy tags: trunk, v1.1.2
Changes
Unified Diff Ignore Whitespace Patch
Changes to api/base.wiki.
1
2
3
4
5
6
7
8
9
10
11
12
13




14
15
16
17
18
19
20
<h1><tt>base</tt> Module</h1>

<h2>Synopsis</h2>

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




</table>

Basic CD library support. Initializes the CD library when loaded.

<h2>Data Types</h2>

<h3><a id="canvas_"><code><nowiki>(canvas? [v any/c]) → boolean?</nowiki></code></a></h3>













>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<h1><tt>base</tt> Module</h1>

<h2>Synopsis</h2>

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

Basic CD library support. Initializes the CD library when loaded.

<h2>Data Types</h2>

<h3><a id="canvas_"><code><nowiki>(canvas? [v any/c]) → boolean?</nowiki></code></a></h3>
Changes to api/cgm.wiki.
1
2
3
4
5
6
7
8
9
10
11
12
13




14
15
16
17
18
19
20
<h1><tt>cgm</tt> Module</h1>

<h2>Synopsis</h2>

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




</table>

CGM context support.

<h2>Context Types</h2>

<h3><a id="context:cgm"><code><nowiki>[context:cgm context?]</nowiki></code></a></h3>













>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<h1><tt>cgm</tt> Module</h1>

<h2>Synopsis</h2>

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

CGM context support.

<h2>Context Types</h2>

<h3><a id="context:cgm"><code><nowiki>[context:cgm context?]</nowiki></code></a></h3>
Changes to api/client.wiki.
1
2
3
4
5
6
7
8
9
10
11
12
13




14
15
16
17
18
19
20
<h1><tt>client</tt> Module</h1>

<h2>Synopsis</h2>

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




</table>

Client context support.

<h2>Context Types</h2>

<h3><a id="context:image"><code><nowiki>[context:image context?]</nowiki></code></a></h3>













>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<h1><tt>client</tt> Module</h1>

<h2>Synopsis</h2>

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

Client context support.

<h2>Context Types</h2>

<h3><a id="context:image"><code><nowiki>[context:image context?]</nowiki></code></a></h3>
Changes to api/clipboard.wiki.
1
2
3
4
5
6
7
8
9
10
11
12
13




14
15
16
17
18
19
20
<h1><tt>clipboard</tt> Module</h1>

<h2>Synopsis</h2>

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




</table>

Clipboard context support.

<h2>Context Types</h2>

<h3><a id="context:clipboard"><code><nowiki>[context:clipboard context?]</nowiki></code></a></h3>













>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<h1><tt>clipboard</tt> Module</h1>

<h2>Synopsis</h2>

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

Clipboard context support.

<h2>Context Types</h2>

<h3><a id="context:clipboard"><code><nowiki>[context:clipboard context?]</nowiki></code></a></h3>
Changes to api/debug.wiki.
1
2
3
4
5
6
7
8
9
10
11
12
13




14
15
16
17
18
19
20
<h1><tt>debug</tt> Module</h1>

<h2>Synopsis</h2>

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




</table>

Debug log context support.

<h2>Context Types</h2>

<h3><a id="context:debug"><code><nowiki>[context:debug context?]</nowiki></code></a></h3>













>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<h1><tt>debug</tt> Module</h1>

<h2>Synopsis</h2>

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

Debug log context support.

<h2>Context Types</h2>

<h3><a id="context:debug"><code><nowiki>[context:debug context?]</nowiki></code></a></h3>
Changes to api/dgn.wiki.
1
2
3
4
5
6
7
8
9
10
11
12
13




14
15
16
17
18
19
20
<h1><tt>dgn</tt> Module</h1>

<h2>Synopsis</h2>

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




</table>

DGN context support.

<h2>Context Types</h2>

<h3><a id="context:dgn"><code><nowiki>[context:dgn context?]</nowiki></code></a></h3>













>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<h1><tt>dgn</tt> Module</h1>

<h2>Synopsis</h2>

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

DGN context support.

<h2>Context Types</h2>

<h3><a id="context:dgn"><code><nowiki>[context:dgn context?]</nowiki></code></a></h3>
Changes to api/dxf.wiki.
1
2
3
4
5
6
7
8
9
10
11
12
13




14
15
16
17
18
19
20
<h1><tt>dxf</tt> Module</h1>

<h2>Synopsis</h2>

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




</table>

DXF context support.

<h2>Context Types</h2>

<h3><a id="context:dxf"><code><nowiki>[context:dxf context?]</nowiki></code></a></h3>













>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<h1><tt>dxf</tt> Module</h1>

<h2>Synopsis</h2>

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

DXF context support.

<h2>Context Types</h2>

<h3><a id="context:dxf"><code><nowiki>[context:dxf context?]</nowiki></code></a></h3>
Changes to api/emf.wiki.
1
2
3
4
5
6
7
8
9
10
11
12
13




14
15
16
17
18
19
20
<h1><tt>emf</tt> Module</h1>

<h2>Synopsis</h2>

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




</table>

EMF context support.

<h2>Context Types</h2>

<h3><a id="context:emf"><code><nowiki>[context:emf context?]</nowiki></code></a></h3>













>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<h1><tt>emf</tt> Module</h1>

<h2>Synopsis</h2>

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

EMF context support.

<h2>Context Types</h2>

<h3><a id="context:emf"><code><nowiki>[context:emf context?]</nowiki></code></a></h3>
Changes to api/gl.wiki.
1
2
3
4
5
6
7
8
9
10
11
12
13




14
15
16
17
18
19
20
<h1><tt>gl</tt> Module</h1>

<h2>Synopsis</h2>

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




</table>

OpenGL context support.

<h2>Context Types</h2>

<h3><a id="context:gl"><code><nowiki>[context:gl context?]</nowiki></code></a></h3>













>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<h1><tt>gl</tt> Module</h1>

<h2>Synopsis</h2>

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

OpenGL context support.

<h2>Context Types</h2>

<h3><a id="context:gl"><code><nowiki>[context:gl context?]</nowiki></code></a></h3>
Changes to api/iup.wiki.
1
2
3
4
5
6
7
8
9
10
11
12
13




14
15
16
17
18
19
20
<h1><tt>iup</tt> Module</h1>

<h2>Synopsis</h2>

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




</table>

IUP context support.

<h2>Context Types</h2>

<h3><a id="context:iup"><code><nowiki>[context:iup context?]</nowiki></code></a></h3>













>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<h1><tt>iup</tt> Module</h1>

<h2>Synopsis</h2>

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

IUP context support.

<h2>Context Types</h2>

<h3><a id="context:iup"><code><nowiki>[context:iup context?]</nowiki></code></a></h3>
Changes to api/main.wiki.
1
2
3
4
5
6
7
8
9
10
11
12
13




14
15
16
17
18
19
20
<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>,













>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<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>
	<tr>
		<th>CHICKEN 5</th>
		<td><code>(import 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>,
Changes to api/metafile.wiki.
1
2
3
4
5
6
7
8
9
10
11
12
13




14
15
16
17
18
19
20
<h1><tt>metafile</tt> Module</h1>

<h2>Synopsis</h2>

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




</table>

Canvas Draw metafile context support.

<h2>Context Types</h2>

<h3><a id="context:metafile"><code><nowiki>[context:metafile context?]</nowiki></code></a></h3>













>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<h1><tt>metafile</tt> Module</h1>

<h2>Synopsis</h2>

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

Canvas Draw metafile context support.

<h2>Context Types</h2>

<h3><a id="context:metafile"><code><nowiki>[context:metafile context?]</nowiki></code></a></h3>
Changes to api/native.wiki.
1
2
3
4
5
6
7
8
9
10
11
12
13




14
15
16
17
18
19
20
<h1><tt>native</tt> Module</h1>

<h2>Synopsis</h2>

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




</table>

Native context support. Initializes context+ support when loaded.

<h2>Context Types</h2>

<h3><a id="context:native"><code><nowiki>[context:native context?]</nowiki></code></a></h3>













>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<h1><tt>native</tt> Module</h1>

<h2>Synopsis</h2>

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

Native context support. Initializes context+ support when loaded.

<h2>Context Types</h2>

<h3><a id="context:native"><code><nowiki>[context:native context?]</nowiki></code></a></h3>
Changes to api/pdf.wiki.
1
2
3
4
5
6
7
8
9
10
11
12
13




14
15
16
17
18
19
20
<h1><tt>pdf</tt> Module</h1>

<h2>Synopsis</h2>

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




</table>

PDF context support.

<h2>Context Types</h2>

<h3><a id="context:pdf"><code><nowiki>[context:pdf context?]</nowiki></code></a></h3>













>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<h1><tt>pdf</tt> Module</h1>

<h2>Synopsis</h2>

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

PDF context support.

<h2>Context Types</h2>

<h3><a id="context:pdf"><code><nowiki>[context:pdf context?]</nowiki></code></a></h3>
Changes to api/picture.wiki.
1
2
3
4
5
6
7
8
9
10
11
12
13




14
15
16
17
18
19
20
<h1><tt>picture</tt> Module</h1>

<h2>Synopsis</h2>

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




</table>

Picture context support.

<h2>Context Types</h2>

<h3><a id="context:picture"><code><nowiki>[context:picture context?]</nowiki></code></a></h3>













>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<h1><tt>picture</tt> Module</h1>

<h2>Synopsis</h2>

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

Picture context support.

<h2>Context Types</h2>

<h3><a id="context:picture"><code><nowiki>[context:picture context?]</nowiki></code></a></h3>
Changes to api/play.wiki.
1
2
3
4
5
6
7
8
9
10
11
12
13




14
15
16
17
18
19
20
<h1><tt>play</tt> Module</h1>

<h2>Synopsis</h2>

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




</table>

Replay functionality.

<h2>Context Content Replay</h2>

<h3><a id="canvas-play_"><code><nowiki>(canvas-play! [canvas canvas?] [context context?] [x0 integer?] [x1 integer?] [y0 integer?] [y1 integer?] [data (or/c string? pointer?)]) → void?</nowiki></code></a></h3>













>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<h1><tt>play</tt> Module</h1>

<h2>Synopsis</h2>

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

Replay functionality.

<h2>Context Content Replay</h2>

<h3><a id="canvas-play_"><code><nowiki>(canvas-play! [canvas canvas?] [context context?] [x0 integer?] [x1 integer?] [y0 integer?] [y1 integer?] [data (or/c string? pointer?)]) → void?</nowiki></code></a></h3>
Changes to api/primitives.wiki.
1
2
3
4
5
6
7
8
9
10
11
12
13




14
15
16
17
18
19
20
<h1><tt>primitives</tt> Module</h1>

<h2>Synopsis</h2>

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




</table>

Drawing primitives.

<h2>Points</h2>

<h3><a id="canvas-pixel_"><code><nowiki>(canvas-pixel! [canvas canvas?] [x integer?] [y integer?] [color integer? (canvas-foreground canvas)]) → void?</nowiki></code></a></h3>













>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<h1><tt>primitives</tt> Module</h1>

<h2>Synopsis</h2>

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

Drawing primitives.

<h2>Points</h2>

<h3><a id="canvas-pixel_"><code><nowiki>(canvas-pixel! [canvas canvas?] [x integer?] [y integer?] [color integer? (canvas-foreground canvas)]) → void?</nowiki></code></a></h3>
Changes to api/printer.wiki.
1
2
3
4
5
6
7
8
9
10
11
12
13




14
15
16
17
18
19
20
<h1><tt>printer</tt> Module</h1>

<h2>Synopsis</h2>

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




</table>

Printer context support.

<h2>Context Types</h2>

<h3><a id="context:printer"><code><nowiki>[context:printer context?]</nowiki></code></a></h3>













>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<h1><tt>printer</tt> Module</h1>

<h2>Synopsis</h2>

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

Printer context support.

<h2>Context Types</h2>

<h3><a id="context:printer"><code><nowiki>[context:printer context?]</nowiki></code></a></h3>
Changes to api/ps.wiki.
1
2
3
4
5
6
7
8
9
10
11
12
13




14
15
16
17
18
19
20
<h1><tt>ps</tt> Module</h1>

<h2>Synopsis</h2>

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




</table>

PostScript context support.

<h2>Context Types</h2>

<h3><a id="context:ps"><code><nowiki>[context:ps context?]</nowiki></code></a></h3>













>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<h1><tt>ps</tt> Module</h1>

<h2>Synopsis</h2>

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

PostScript context support.

<h2>Context Types</h2>

<h3><a id="context:ps"><code><nowiki>[context:ps context?]</nowiki></code></a></h3>
Changes to api/server.wiki.
1
2
3
4
5
6
7
8
9
10
11
12
13




14
15
16
17
18
19
20
<h1><tt>server</tt> Module</h1>

<h2>Synopsis</h2>

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




</table>

Server context support.

<h2>Context Types</h2>

<h3><a id="context:image"><code><nowiki>[context:image context?]</nowiki></code></a></h3>













>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<h1><tt>server</tt> Module</h1>

<h2>Synopsis</h2>

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

Server context support.

<h2>Context Types</h2>

<h3><a id="context:image"><code><nowiki>[context:image context?]</nowiki></code></a></h3>
Changes to api/svg.wiki.
1
2
3
4
5
6
7
8
9
10
11
12
13




14
15
16
17
18
19
20
<h1><tt>svg</tt> Module</h1>

<h2>Synopsis</h2>

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




</table>

Scalable vector graphics context support.

<h2>Context Types</h2>

<h3><a id="context:svg"><code><nowiki>[context:svg context?]</nowiki></code></a></h3>













>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<h1><tt>svg</tt> Module</h1>

<h2>Synopsis</h2>

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

Scalable vector graphics context support.

<h2>Context Types</h2>

<h3><a id="context:svg"><code><nowiki>[context:svg context?]</nowiki></code></a></h3>
Changes to api/wmf.wiki.
1
2
3
4
5
6
7
8
9
10
11
12
13




14
15
16
17
18
19
20
<h1><tt>wmf</tt> Module</h1>

<h2>Synopsis</h2>

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




</table>

WMF context support.

<h2>Context Types</h2>

<h3><a id="context:wmf"><code><nowiki>[context:wmf context?]</nowiki></code></a></h3>













>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<h1><tt>wmf</tt> Module</h1>

<h2>Synopsis</h2>

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

WMF context support.

<h2>Context Types</h2>

<h3><a id="context:wmf"><code><nowiki>[context:wmf context?]</nowiki></code></a></h3>