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 | SQL archive
Timelines: family | ancestors | trunk
Files: files | file ages | folders
SHA1: fdc9bb094cece73feda9f70702f1a25bb6b56478
User & Date: murphy 2018-11-08 12:58:53
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
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to api/base.wiki.

7
8
9
10
11
12
13




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







>
>
>
>







7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
		<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.

7
8
9
10
11
12
13




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

Context type for CGM files.







>
>
>
>









7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
		<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>

Context type for CGM files.

Changes to api/client.wiki.

7
8
9
10
11
12
13




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







>
>
>
>







7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
		<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.

7
8
9
10
11
12
13




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

Context type for the system clipboard.







>
>
>
>









7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
		<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>

Context type for the system clipboard.

Changes to api/debug.wiki.

7
8
9
10
11
12
13




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

Context type for debug log files.







>
>
>
>









7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
		<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>

Context type for debug log files.

Changes to api/dgn.wiki.

7
8
9
10
11
12
13




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

Context type for DGN files.







>
>
>
>









7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
		<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>

Context type for DGN files.

Changes to api/dxf.wiki.

7
8
9
10
11
12
13




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

Context type for DXF files.







>
>
>
>









7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
		<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>

Context type for DXF files.

Changes to api/emf.wiki.

7
8
9
10
11
12
13




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

Context type for EMF files.







>
>
>
>









7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
		<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>

Context type for EMF files.

Changes to api/gl.wiki.

7
8
9
10
11
12
13




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

Context type for OpenGL rendering.







>
>
>
>









7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
		<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>

Context type for OpenGL rendering.

Changes to api/iup.wiki.

7
8
9
10
11
12
13




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







>
>
>
>







7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
		<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.

7
8
9
10
11
12
13




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







>
>
>
>







7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
		<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.

7
8
9
10
11
12
13




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

Context type for MF files.







>
>
>
>









7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
		<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>

Context type for MF files.

Changes to api/native.wiki.

7
8
9
10
11
12
13




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







>
>
>
>







7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
		<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.

7
8
9
10
11
12
13




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

Context type for PDF files.







>
>
>
>









7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
		<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>

Context type for PDF files.

Changes to api/picture.wiki.

7
8
9
10
11
12
13




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

Context type for in-memory pictures.







>
>
>
>









7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
		<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>

Context type for in-memory pictures.

Changes to api/play.wiki.

7
8
9
10
11
12
13




14
15
16
17
18
19
20
21
22
23
		<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>

Replays the drawing contained in the context with the given data in the given
canvas.







>
>
>
>










7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
		<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>

Replays the drawing contained in the context with the given data in the given
canvas.

Changes to api/primitives.wiki.

7
8
9
10
11
12
13




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







>
>
>
>







7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
		<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.

7
8
9
10
11
12
13




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

Context type for a system printer.







>
>
>
>









7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
		<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>

Context type for a system printer.

Changes to api/ps.wiki.

7
8
9
10
11
12
13




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

Context type for PS files.







>
>
>
>









7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
		<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>

Context type for PS files.

Changes to api/server.wiki.

7
8
9
10
11
12
13




14
15
16
17
18
19
20
21
22
23
24
25
26
		<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>

Context type for server side pixel buffers.

<h3><a id="context:double-buffer"><code><nowiki>[context:double-buffer context?]</nowiki></code></a></h3>

Context type for server side double buffers.







>
>
>
>













7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
		<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>

Context type for server side pixel buffers.

<h3><a id="context:double-buffer"><code><nowiki>[context:double-buffer context?]</nowiki></code></a></h3>

Context type for server side double buffers.

Changes to api/svg.wiki.

7
8
9
10
11
12
13




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

Context type for SVG files.







>
>
>
>









7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
		<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>

Context type for SVG files.

Changes to api/wmf.wiki.

7
8
9
10
11
12
13




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

Context type for WMF files.







>
>
>
>









7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
		<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>

Context type for WMF files.