summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--html/en/func/lines.html6
-rw-r--r--html/en/history.html2
-rw-r--r--html/en/screenshots.html66
-rw-r--r--html/en/screenshots_src_c.html865
-rw-r--r--html/screenshots/cd_cgm_powerpoint.pngbin30963 -> 0 bytes
-rw-r--r--html/screenshots/cd_emf_gdiplus_powerpoint.pngbin82265 -> 80348 bytes
-rw-r--r--html/screenshots/cd_emf_gdiplus_powerpoint_small.pngbin28600 -> 0 bytes
-rw-r--r--html/screenshots/cd_emf_win32_powerpoint.pngbin29577 -> 49998 bytes
-rw-r--r--html/screenshots/cd_emf_win32_powerpoint_small.pngbin21126 -> 0 bytes
-rw-r--r--html/screenshots/cd_imagergb_small.pngbin23968 -> 0 bytes
-rw-r--r--html/screenshots/cd_nativewindow_cairo_small.pngbin24083 -> 0 bytes
-rw-r--r--html/screenshots/cd_nativewindow_gdiplus_small.pngbin23999 -> 0 bytes
-rw-r--r--html/screenshots/cd_nativewindow_gdk_small.pngbin21519 -> 0 bytes
-rw-r--r--html/screenshots/cd_nativewindow_win32_small.pngbin21152 -> 0 bytes
-rw-r--r--html/screenshots/cd_nativewindow_x11_small.pngbin20803 -> 0 bytes
-rw-r--r--html/screenshots/cd_pdf.pdfbin10647 -> 10637 bytes
-rw-r--r--html/screenshots/cd_pdf_acrobatreader.pngbin74619 -> 76541 bytes
-rw-r--r--html/screenshots/cd_pdf_acrobatreader_small.pngbin29502 -> 0 bytes
-rw-r--r--html/screenshots/cd_ps.ps4
-rw-r--r--html/screenshots/cd_ps_ghostscript.pngbin36809 -> 54352 bytes
-rw-r--r--html/screenshots/cd_ps_ghostscript_small.pngbin29044 -> 0 bytes
-rw-r--r--html/screenshots/cd_svg.svg80
-rw-r--r--html/screenshots/cd_svg_firefox_small.pngbin27677 -> 0 bytes
-rw-r--r--html/screenshots/small/cd_emf_gdiplus_powerpoint_small.pngbin28600 -> 26312 bytes
-rw-r--r--html/screenshots/small/cd_emf_win32_powerpoint_small.pngbin21126 -> 21568 bytes
-rw-r--r--html/screenshots/small/cd_pdf_acrobatreader_small.pngbin29502 -> 27678 bytes
-rw-r--r--html/screenshots/small/cd_ps_ghostscript_small.pngbin29044 -> 24099 bytes
-rw-r--r--html/wb/wb_usr.lua9
-rw-r--r--html/wb_search.txt31
-rw-r--r--html/wb_tree.html401
-rw-r--r--src/drv/cdpdf.c6
-rw-r--r--src/drv/cdps.c6
-rw-r--r--test/simple/simple.c458
33 files changed, 1439 insertions, 495 deletions
diff --git a/html/en/func/lines.html b/html/en/func/lines.html
index 6ba78d7..cbea432 100644
--- a/html/en/func/lines.html
+++ b/html/en/func/lines.html
@@ -108,10 +108,10 @@ canvas:LineStyle(style: <em>number</em>) -&gt; (old_style: <em>number</em>) [in
canvas:LineStyleDashes(dashes: table, count: number) -&gt; (old_style: number) [in Lua]</pre>
- <p>Defines the custom line style dashes. The first value is the lenght of the
- first dash, the second value is the leght of the first space, and so on. For
+ <p>Defines the custom line style dashes. The first value is the length of the
+ first dash, the second value is the length of the first space, and so on. For
example: &quot;10 2 5 2&quot; means dash size 10, space size 2, dash size 5, space size
- 2, and repeats the pattern. </p>
+ 2, and repeats the pattern. Sizes are in pixels.</p>
<pre class="function"><span class="mainFunction">int <a name="cdLineWidth">cdCanvasLineWidth</a>(cdCanvas* canvas, int width); [in C]<br></span>double wdCanvasLineWidth(cdCanvas* canvas, double width_mm); (WC) [in C]
diff --git a/html/en/history.html b/html/en/history.html
index ff197bb..78ac63e 100644
--- a/html/en/history.html
+++ b/html/en/history.html
@@ -73,6 +73,8 @@
<li><span class="hist_fixed">Fixed:</span> missed implementation for
CD_DEBUG, CD_PICTURE and CD_DBUFFERRGB in Lua.</li>
<li><span class="hist_fixed">Fixed:</span> Chord in PDF driver.</li>
+ <li><span class="hist_fixed">Fixed:</span> custom line style sizes in CD_PDF
+ and CD_PS drivers to match behavior of other drivers.</li>
</ul>
<h3><a href="http://sourceforge.net/projects/canvasdraw/files/5.3/">Version 5.3</a> (26/Jan/2010)</h3>
<ul>
diff --git a/html/en/screenshots.html b/html/en/screenshots.html
index 38616c1..d8b3c28 100644
--- a/html/en/screenshots.html
+++ b/html/en/screenshots.html
@@ -10,14 +10,33 @@
border-style: solid;
border-width: 1px;
}
+.style5 {
+ text-align: left;
+}
</style>
</head>
<body>
<h2 align="center" style="text-align:center">Screenshots</h2>
-
-
-<h4><a href="drv/native.html">CD_NATIVEWINDOW</a></h4>
+<p class="style5">All the screenshots here were generated with the same
+<a href="screenshots_src_c.html">C source code</a>. The code contains only the
+primitives and attributes, the canvas initialization is simply:</p>
+<pre>cdCanvas* canvas = <strong>canvas = cdCreateCanvas</strong>(ctx, data);
+
+<a href="screenshots_src_c.html">SimpleDraw</a>(canvas);
+
+/* Destroys the canvas and releases internal memory,
+ important for file based drivers to close the file. */
+<strong>cdKillCanvas</strong>(canvas);
+</pre>
+<h4><a href="drv/native.html">CD_NATIVEWINDOW</a> or <a href="drv/iup.html">
+CD_IUP</a></h4>
+<pre>Ihandle* cnv = <strong>IupCanvas</strong>(NULL);
+<strong>cdInitContextPlus</strong>();
+...
+if (contextplus) <strong>cdUseContextPlus</strong>(1);
+canvas = <strong>cdCreateCanvas</strong>(CD_IUP, cnv);
+if (contextplus) <strong>cdUseContextPlus</strong>(0);</pre>
<table align="center">
@@ -28,10 +47,10 @@
<tr>
<td>
<a href="../screenshots/cd_nativewindow_win32.png">
- <img src="../screenshots/cd_nativewindow_win32_small.png" xthumbnail-orig-image="../screenshots/cd_nativewindow_win32.png" width="400" height="293" class="style4" ></a></td>
+ <img src="../screenshots/small/cd_nativewindow_win32_small.png" xthumbnail-orig-image="../screenshots/cd_nativewindow_win32.png" width="400" height="293" class="style4" ></a></td>
<td>
<a href="../screenshots/cd_nativewindow_gdiplus.png">
- <img src="../screenshots/cd_nativewindow_gdiplus_small.png" xthumbnail-orig-image="../screenshots/cd_nativewindow_gdiplus.png" width="400" height="293" class="style4" ></a></td>
+ <img src="../screenshots/small/cd_nativewindow_gdiplus_small.png" xthumbnail-orig-image="../screenshots/cd_nativewindow_gdiplus.png" width="400" height="293" class="style4" ></a></td>
</tr>
<tr>
<th><a href="drv/xwin.html">X11</a></th>
@@ -40,7 +59,7 @@
<tr>
<td>
<a href="../screenshots/cd_nativewindow_x11.png">
- <img src="../screenshots/cd_nativewindow_x11_small.png" xthumbnail-orig-image="../screenshots/cd_nativewindow_x11.png" width="400" height="264" class="style4" ></a></td>
+ <img src="../screenshots/small/cd_nativewindow_x11_small.png" xthumbnail-orig-image="../screenshots/cd_nativewindow_x11.png" width="400" height="264" class="style4" ></a></td>
<td><img src="../screenshots/cd_nativewindow_xrender.png"></td>
</tr>
<tr>
@@ -50,30 +69,31 @@
<tr>
<td>
<a href="../screenshots/cd_nativewindow_gdk.png">
- <img src="../screenshots/cd_nativewindow_gdk_small.png" xthumbnail-orig-image="../screenshots/cd_nativewindow_gdk.png" width="400" height="263" class="style4" ></a></td>
+ <img src="../screenshots/small/cd_nativewindow_gdk_small.png" xthumbnail-orig-image="../screenshots/cd_nativewindow_gdk.png" width="400" height="263" class="style4" ></a></td>
<td>
<a href="../screenshots/cd_nativewindow_cairo.png">
- <img src="../screenshots/cd_nativewindow_cairo_small.png" xthumbnail-orig-image="../screenshots/cd_nativewindow_cairo.png" width="400" height="263" class="style4" ></a></td>
+ <img src="../screenshots/small/cd_nativewindow_cairo_small.png" xthumbnail-orig-image="../screenshots/cd_nativewindow_cairo.png" width="400" height="263" class="style4" ></a></td>
</tr>
</table>
<h4><a href="drv/irgb.html">CD_IMAGERGB</a></h4>
+<pre>canvas = <strong>cdCreateCanvas</strong>(CD_IMAGERGB, &quot;1280x938&quot;);</pre>
<table align="center">
<tr>
<td>
<a href="../screenshots/cd_imagergb.png">
- <img src="../screenshots/cd_imagergb_small.png" xthumbnail-orig-image="../screenshots/cd_imagergb.png" width="400" height="293" class="style4" ></a></td>
+ <img src="../screenshots/small/cd_imagergb_small.png" xthumbnail-orig-image="../screenshots/cd_imagergb.png" width="400" height="293" class="style4" ></a></td>
</tr>
</table>
<h4><a href="drv/pdf.html">CD_PDF</a></h4>
-
+<pre>canvas = <strong>cdCreateCanvas</strong>(CD_PDF, &quot;cd_pdf.pdf -w270.933 -h198.543 -s120&quot;);</pre>
<table align="center">
<tr>
<td>
<a href="../screenshots/cd_pdf_acrobatreader.png">
- <img src="../screenshots/cd_pdf_acrobatreader_small.png" xthumbnail-orig-image="../screenshots/cd_pdf_acrobatreader.png" width="400" height="293" class="style4" ></a></td>
+ <img src="../screenshots/small/cd_pdf_acrobatreader_small.png" xthumbnail-orig-image="../screenshots/cd_pdf_acrobatreader.png" width="400" height="293" class="style4" ></a></td>
</tr>
<tr>
<td><a href="../screenshots/cd_pdf.pdf">cd_pdf.pdf</a></td>
@@ -81,12 +101,13 @@
</table>
<h4><a href="drv/ps.html">CD_PS</a></h4>
-
+<pre>canvas = <strong>cdCreateCanvas</strong>(CD_PS, &quot;cd_ps.ps -l0 -r0 -t0 -b0 -w270.933 -h198.543 -s120&quot;);
+canvas = <strong>cdCreateCanvas</strong>(CD_PS, &quot;cd_ps.eps -e -w270.933 -h198.543 -s120&quot;);</pre>
<table align="center">
<tr>
<td>
<a href="../screenshots/cd_ps_ghostscript.png">
- <img src="../screenshots/cd_ps_ghostscript_small.png" xthumbnail-orig-image="../screenshots/cd_ps_ghostscript.png" width="400" height="293" class="style4" ></a></td>
+ <img src="../screenshots/small/cd_ps_ghostscript_small.png" xthumbnail-orig-image="../screenshots/cd_ps_ghostscript.png" width="400" height="293" class="style4" ></a></td>
</tr>
<tr>
<td><a href="../screenshots/cd_ps.ps">cd_ps.ps</a></td>
@@ -97,12 +118,12 @@
</table>
<h4><a href="drv/svg.html">CD_SVG</a></h4>
-
+<pre>canvas = <strong>cdCreateCanvas</strong>(CD_SVG, &quot;cd_svg.svg 270.933x198.543 4.72441&quot;);</pre>
<table align="center">
<tr>
<td>
<a href="../screenshots/cd_svg_firefox.png">
- <img src="../screenshots/cd_svg_firefox_small.png" xthumbnail-orig-image="../screenshots/cd_svg_firefox.png" width="400" height="291" class="style4" ></a></td>
+ <img src="../screenshots/small/cd_svg_firefox_small.png" xthumbnail-orig-image="../screenshots/cd_svg_firefox.png" width="400" height="291" class="style4" ></a></td>
</tr>
<tr>
<td><a href="../screenshots/cd_svg.svg">cd_svg.svg</a></td>
@@ -110,7 +131,7 @@
</table>
<h4><a href="drv/emf.html">CD_EMF</a></h4>
-
+<pre>canvas = <strong>cdCreateCanvas</strong>(CD_EMF, &quot;cd_emf.emf 1280x938&quot;);</pre>
<table align="center">
<tr>
<th>Win32</th>
@@ -121,12 +142,12 @@
<a href="../screenshots/cd_emf_win32_powerpoint.png">
- <img src="../screenshots/cd_emf_win32_powerpoint_small.png" xthumbnail-orig-image="../screenshots/cd_emf_win32_powerpoint.png" width="400" height="297" class="style4" ></a></td>
+ <img src="../screenshots/small/cd_emf_win32_powerpoint_small.png" xthumbnail-orig-image="../screenshots/cd_emf_win32_powerpoint.png" width="400" height="297" class="style4" ></a></td>
<td>
<a href="../screenshots/cd_emf_gdiplus_powerpoint.png">
- <img src="../screenshots/cd_emf_gdiplus_powerpoint_small.png" xthumbnail-orig-image="../screenshots/cd_emf_gdiplus_powerpoint.png" width="400" height="295" class="style4" ></a></td>
+ <img src="../screenshots/small/cd_emf_gdiplus_powerpoint_small.png" xthumbnail-orig-image="../screenshots/cd_emf_gdiplus_powerpoint.png" width="400" height="295" class="style4" ></a></td>
</tr>
<tr>
<td><a href="../screenshots/cd_emf_win32.emf">cd_emf_win32.emf</a></td>
@@ -138,16 +159,25 @@
<blockquote>
<p><a href="drv/mf.html">CD_METAFILE</a> -
<a href="../screenshots/cd_metafile.mf">cd_metafile.mf</a></p>
+<pre>canvas = <strong>cdCreateCanvas</strong>(CD_METAFILE, &quot;cd_wmf.mf 270.933x198.543 4.72441&quot;);</pre>
<p><a href="drv/debug.html">CD_DEBUG</a> - <a href="../screenshots/cd_debug.txt">
cd_debug.txt</a></p>
+<pre>canvas = <strong>cdCreateCanvas</strong>(CD_DEBUG, &quot;cd_debug.txt 270.933x198.543 4.72441&quot;);</pre>
<p><a href="drv/wmf.html">CD_WMF</a> - <a href="../screenshots/cd_wmf.wmf">
cd_wmf.wmf</a></p>
+<pre>canvas = <strong>cdCreateCanvas</strong>(CD_WMF, &quot;cd_wmf.wmf 1280x938&quot;);</pre>
<p><a href="drv/cgm.html">CD_CGM</a> - <a href="../screenshots/cd_cgm.cgm">
cd_cgm.cgm</a></p>
+<pre>canvas = <strong>cdCreateCanvas</strong>(CD_CGM, &quot;cd_cgm.cgm 270.933x198.543 4.72441&quot;);</pre>
+<p><a href="drv/cgm.html">CD_CGM</a> - <a href="../screenshots/cd_cgm_t.cgm">
+cd_cgm_t.cgm</a>&nbsp; (text mode)</p>
+<pre>canvas = <strong>cdCreateCanvas</strong>(CD_CGM, &quot;cd_cgm_t.cgm -t 270.933x198.543 4.72441&quot;);</pre>
<p><a href="drv/dgn.html">CD_DGN</a> - <a href="../screenshots/cd_dgn.dgn">
cd_dgn.dgn</a></p>
+<pre>canvas = <strong>cdCreateCanvas</strong>(CD_DGN, &quot;cd_dgn.dgn 270.933x198.543 4.72441&quot;);</pre>
<p><a href="drv/dxf.html">CD_DXF</a> - <a href="../screenshots/cd_dxf.dxf">
cd_dxf.dxf</a></p>
+<pre>canvas = <strong>cdCreateCanvas</strong>(CD_DXF, &quot;cd_dxf.dxf 270.933x198.543 4.72441&quot;);</pre>
</blockquote>
diff --git a/html/en/screenshots_src_c.html b/html/en/screenshots_src_c.html
new file mode 100644
index 0000000..bf33397
--- /dev/null
+++ b/html/en/screenshots_src_c.html
@@ -0,0 +1,865 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
+<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
+<head>
+<meta http-equiv="Content-Language" content="en-us">
+<title>Screenshots C Source Code</title>
+<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
+<link rel="stylesheet" type="text/css" href="../style.css">
+<style type="text/css">
+ p {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+.style1 {
+ color: #0000FF;
+}
+.style2 {
+ color: #FF00FF;
+}
+</style>
+</head>
+<body>
+
+<h2 align="center" style="text-align:center">Screenshots C Source Code</h2>
+
+
+
+
+<p><font SIZE="3"> <span class="style1">void</span> SimpleDraw</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">cdCanvas</font><font SIZE="3" COLOR="#ff00ff"><b>*</b></font><font SIZE="3">
+canvas</font><font SIZE="3" COLOR="#ff00ff"><b>)</p>
+<p>{</b>
+</font></p>
+<div style="margin-left: 1.4em">
+<p><font SIZE="3">
+</font><font SIZE="3" COLOR="#0000ff">int</font><font SIZE="3"> w</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>;</b>
+</font></p>
+<p><font SIZE="3" COLOR="#0000ff">int</font><font SIZE="3"> </font><font SIZE="3" COLOR="#ff00ff"><b>*</b></font><font SIZE="3">dashes</font><font SIZE="3" COLOR="#ff00ff"><b>;</b>
+</font></p>
+<p><font SIZE="3" COLOR="#0000ff">int</font><font SIZE="3"> irect</font><font SIZE="3" COLOR="#ff00ff"><b>[</b></font><font SIZE="3" COLOR="#800000">8</font><font SIZE="3" COLOR="#ff00ff"><b>];</b>
+</font></p><p><font SIZE="3" COLOR="#0000ff">double</font><font SIZE="3"> drect</font><font SIZE="3" COLOR="#ff00ff"><b>[</b></font><font SIZE="3" COLOR="#800000">8</font><font SIZE="3" COLOR="#ff00ff"><b>];</b>
+</font></p>
+<p>&nbsp;</p>
+<p class="style2"><font SIZE="3" COLOR="#008000">/* Get size in pixels to be
+used for computing coordinates. */</font></p><p><font SIZE="3">
+cdCanvasGetSize</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#ff00ff"><b>&amp;</b></font><font SIZE="3">w</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#ff00ff"><b>&amp;</b></font><font SIZE="3">h</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+NULL</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3"> NULL</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p></p><p><font SIZE="3">
+</font><font SIZE="3" COLOR="#008000">/* Clear the background to be white */</font></p><p><font SIZE="3">
+cdCanvasBackground</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_WHITE</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasClear</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p>
+<p>&nbsp;</p><p><font SIZE="3">
+</font><font SIZE="3" COLOR="#008000">/* Draw a reactangle and a polyline at
+the bottom-left area,</p>
+<p>&nbsp;&nbsp;&nbsp; using a thick line with transparency.</p>
+<p>&nbsp;&nbsp;&nbsp; Notice that transparency is only supported in a few drivers,</p>
+<p>&nbsp;&nbsp;&nbsp; and line join is not supported in the IMAGERGB driver. */</p></font><p><font SIZE="3">
+cdCanvasLineWidth</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">3</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasLineStyle</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_CONTINUOUS</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasForeground</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+cdEncodeAlpha</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">CD_DARK_MAGENTA</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">128</font><font SIZE="3" COLOR="#ff00ff"><b>));</b>
+</font></p><p><font SIZE="3">
+cdCanvasRect</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">200</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">200</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasBegin</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_OPEN_LINES</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">300</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">250</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">320</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">270</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">350</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">260</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">340</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">200</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">310</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">210</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasEnd</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p></p><font SIZE="3">
+
+<p></font><font SIZE="3" COLOR="#008000">/* Draw the red diagonal line with a
+custom line style. </p>
+<p>&nbsp;&nbsp;&nbsp; Notice that line styles are not supported in the IMAGERGB driver. */</font></p><p><font SIZE="3">
+cdCanvasForeground</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_RED</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasLineWidth</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">3</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p>
+<p><font SIZE="3"> dashes</font><font SIZE="3">
+</font><font SIZE="3" COLOR="#ff00ff"><b>=</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#ff00ff"><b>{</b></font><font SIZE="3" COLOR="#800000">20</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">15</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">5</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">5</font><font SIZE="3" COLOR="#ff00ff"><b>};</b>
+</font></p><p><font SIZE="3">
+cdCanvasLineStyleDashes</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+dashes</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">4</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p>
+<p><font SIZE="3">
+cdCanvasLineStyle</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_CUSTOM</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasLine</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3" COLOR="#800000">1</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3" COLOR="#800000">1</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p>
+<p>&nbsp;</p><p><font SIZE="3">
+</font><font SIZE="3" COLOR="#008000">/* Draw the blue diagonal line with a
+pre-defined line style.</p>
+<p>&nbsp;&nbsp;&nbsp; Notice that the pre-defined line style is dependent on the driver. */</font></p><p><font SIZE="3">
+cdCanvasForeground</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_BLUE</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasLineWidth</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">10</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasLineStyle</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_DOTTED</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasLine</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3" COLOR="#800000">1</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3" COLOR="#800000">1</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p>&nbsp;</p>
+<p><font SIZE="3" COLOR="#008000">/* Reset line style and width */</font></p><p><font SIZE="3">
+cdCanvasLineStyle</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_CONTINUOUS</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasLineWidth</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">1</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p></p><font SIZE="3">
+
+<p></font><font SIZE="3" COLOR="#008000">/* Draw an arc at bottom-left, and a
+sector at bottom-right.</p>
+<p>&nbsp;&nbsp;&nbsp; Notice that counter-clockwise orientation of both. */</font></p><p><font SIZE="3">
+cdCanvasInteriorStyle</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_SOLID</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasForeground</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_MAGENTA</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasSector</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">50</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">180</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasForeground</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_RED</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasArc</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">50</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">180</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p>
+<p>&nbsp;</p><p><font SIZE="3">
+</font><font SIZE="3" COLOR="#008000">/* Draw a solid filled rectangle at
+center. */</font></p><p><font SIZE="3">
+cdCanvasForeground</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_YELLOW</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasBox</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3">
+</font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3">
+</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3">
+</font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3">
+</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p>
+<p>&nbsp;</p><font SIZE="3">
+
+<p></font><font SIZE="3" COLOR="#008000">/* Prepare font for text. */</font></p><p><font SIZE="3">
+cdCanvasTextAlignment</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_CENTER</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasTextOrientation</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">70</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasFont</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#a31515">&quot;Times&quot;</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_BOLD</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">24</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p>
+<p>&nbsp;</p><p><font SIZE="3">
+</font><font SIZE="3" COLOR="#008000">/* Draw text at center, with
+orientation, </p>
+<p>&nbsp;&nbsp;&nbsp; and draw its bounding box. </p>
+<p>&nbsp;&nbsp;&nbsp; Notice that in some drivers the bounding box is not precise. */</font></p>
+<p><font SIZE="3">
+cdCanvasGetTextBounds</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#a31515">&quot;cdMin Draw ()&quot;</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+irect</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasForeground</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_RED</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasBegin</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_CLOSED_LINES</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+irect</font><font SIZE="3" COLOR="#ff00ff"><b>[</b></font><font SIZE="3" COLOR="#800000">0</font><font SIZE="3" COLOR="#ff00ff"><b>],</b></font><font SIZE="3">
+irect</font><font SIZE="3" COLOR="#ff00ff"><b>[</b></font><font SIZE="3" COLOR="#800000">1</font><font SIZE="3" COLOR="#ff00ff"><b>]);</b>
+</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+irect</font><font SIZE="3" COLOR="#ff00ff"><b>[</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>],</b></font><font SIZE="3">
+irect</font><font SIZE="3" COLOR="#ff00ff"><b>[</b></font><font SIZE="3" COLOR="#800000">3</font><font SIZE="3" COLOR="#ff00ff"><b>]);</b>
+</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+irect</font><font SIZE="3" COLOR="#ff00ff"><b>[</b></font><font SIZE="3" COLOR="#800000">4</font><font SIZE="3" COLOR="#ff00ff"><b>],</b></font><font SIZE="3">
+irect</font><font SIZE="3" COLOR="#ff00ff"><b>[</b></font><font SIZE="3" COLOR="#800000">5</font><font SIZE="3" COLOR="#ff00ff"><b>]);</b>
+</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+irect</font><font SIZE="3" COLOR="#ff00ff"><b>[</b></font><font SIZE="3" COLOR="#800000">6</font><font SIZE="3" COLOR="#ff00ff"><b>],</b></font><font SIZE="3">
+irect</font><font SIZE="3" COLOR="#ff00ff"><b>[</b></font><font SIZE="3" COLOR="#800000">7</font><font SIZE="3" COLOR="#ff00ff"><b>]);</b>
+</font></p><p><font SIZE="3">
+cdCanvasEnd</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p>
+<p><font SIZE="3">
+cdCanvasForeground</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_BLUE</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasText</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#a31515">&quot;cdMin Draw ()&quot;</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p>
+<p>&nbsp;</p><p><font SIZE="3">
+</font><font SIZE="3" COLOR="#008000">/* Prepare World Coordinates */</font></p><p><font SIZE="3">
+wdCanvasViewport</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">w</font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3" COLOR="#800000">1</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3" COLOR="#800000">0</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">h</font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3" COLOR="#800000">1</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+</font><font SIZE="3" COLOR="#0000ff">if</font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">w</font><font SIZE="3" COLOR="#ff00ff"><b>&gt;</b></font><font SIZE="3">h</font><font SIZE="3" COLOR="#ff00ff"><b>)</b>
+</font></p><p><font SIZE="3">
+&nbsp;&nbsp;&nbsp;
+wdCanvasWindow</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0</font><font SIZE="3" COLOR="#ff00ff"><b>,(</b></font><font SIZE="3" COLOR="#0000ff">double</font><font SIZE="3" COLOR="#ff00ff"><b>)</b></font><font SIZE="3">w</font><font SIZE="3" COLOR="#ff00ff"><b>/(</b></font><font SIZE="3" COLOR="#0000ff">double</font><font SIZE="3" COLOR="#ff00ff"><b>)</b></font><font SIZE="3">h</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3" COLOR="#800000">0</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3" COLOR="#800000">1</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+</font><font SIZE="3" COLOR="#0000ff">else</font></p><p><font SIZE="3">
+&nbsp;&nbsp;&nbsp;
+wdCanvasWindow</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3" COLOR="#800000">1</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3" COLOR="#800000">0</font><font SIZE="3" COLOR="#ff00ff"><b>,(</b></font><font SIZE="3" COLOR="#0000ff">double</font><font SIZE="3" COLOR="#ff00ff"><b>)</b></font><font SIZE="3">h</font><font SIZE="3" COLOR="#ff00ff"><b>/(</b></font><font SIZE="3" COLOR="#0000ff">double</font><font SIZE="3" COLOR="#ff00ff"><b>)</b></font><font SIZE="3">w</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p>
+<p>&nbsp;</p><p><font SIZE="3">
+</font><font SIZE="3" COLOR="#008000">/* Draw a filled blue rectangle in WC
+*/</font></p><p><font SIZE="3">
+wdCanvasBox</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0.20</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0.30</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0.40</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0.50</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasForeground</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_RED</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p>
+<p>&nbsp;</p><p><font SIZE="3">
+</font><font SIZE="3" COLOR="#008000">/* Draw the diagonal of that rectangle
+in WC */</font></p><p><font SIZE="3">
+wdCanvasLine</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0.20</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0.40</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0.30</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0.50</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p>
+<p>&nbsp;</p><p><font SIZE="3">
+</font><font SIZE="3" COLOR="#008000">/* Prepare Vector Text in WC. */</font></p><p><font SIZE="3">
+wdCanvasVectorCharSize</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0.07</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p>&nbsp;</p>
+<p><font SIZE="3" COLOR="#008000">/* Draw vector text, and draw its
+bounding box. </p>
+<p>&nbsp;&nbsp;&nbsp; We also use this text to show when we are using a contextplus driver. */</font></p>
+<p><font SIZE="3">
+cdCanvasForeground</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_RED</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+</font><font SIZE="3" COLOR="#0000ff">if</font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">contextplus</font><font SIZE="3" COLOR="#ff00ff"><b>)</b>
+</font></p><p><font SIZE="3">
+&nbsp;&nbsp;&nbsp;
+wdCanvasGetVectorTextBounds</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#a31515">&quot;WDj-Plus&quot;</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0.25</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0.35</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+drect</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+</font><font SIZE="3" COLOR="#0000ff">else</font></p><p><font SIZE="3">
+&nbsp;&nbsp;&nbsp;
+wdCanvasGetVectorTextBounds</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#a31515">&quot;WDj&quot;</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0.25</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0.35</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+drect</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasBegin</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_CLOSED_LINES</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+wdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+drect</font><font SIZE="3" COLOR="#ff00ff"><b>[</b></font><font SIZE="3" COLOR="#800000">0</font><font SIZE="3" COLOR="#ff00ff"><b>],</b></font><font SIZE="3">
+drect</font><font SIZE="3" COLOR="#ff00ff"><b>[</b></font><font SIZE="3" COLOR="#800000">1</font><font SIZE="3" COLOR="#ff00ff"><b>]);</b>
+</font></p><p><font SIZE="3">
+wdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+drect</font><font SIZE="3" COLOR="#ff00ff"><b>[</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>],</b></font><font SIZE="3">
+drect</font><font SIZE="3" COLOR="#ff00ff"><b>[</b></font><font SIZE="3" COLOR="#800000">3</font><font SIZE="3" COLOR="#ff00ff"><b>]);</b>
+</font></p><p><font SIZE="3">
+wdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+drect</font><font SIZE="3" COLOR="#ff00ff"><b>[</b></font><font SIZE="3" COLOR="#800000">4</font><font SIZE="3" COLOR="#ff00ff"><b>],</b></font><font SIZE="3">
+drect</font><font SIZE="3" COLOR="#ff00ff"><b>[</b></font><font SIZE="3" COLOR="#800000">5</font><font SIZE="3" COLOR="#ff00ff"><b>]);</b>
+</font></p><p><font SIZE="3">
+wdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+drect</font><font SIZE="3" COLOR="#ff00ff"><b>[</b></font><font SIZE="3" COLOR="#800000">6</font><font SIZE="3" COLOR="#ff00ff"><b>],</b></font><font SIZE="3">
+drect</font><font SIZE="3" COLOR="#ff00ff"><b>[</b></font><font SIZE="3" COLOR="#800000">7</font><font SIZE="3" COLOR="#ff00ff"><b>]);</b>
+</font></p><p><font SIZE="3">
+cdCanvasEnd</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasLineWidth</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasLineStyle</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_CONTINUOUS</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+</font><font SIZE="3" COLOR="#0000ff">if</font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">contextplus</font><font SIZE="3" COLOR="#ff00ff"><b>)</b>
+</font></p><p><font SIZE="3">
+&nbsp;&nbsp;&nbsp;
+wdCanvasVectorText</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0.25</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0.35</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#a31515">&quot;WDj-Plus&quot;</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+</font><font SIZE="3" COLOR="#0000ff">else</font></p><p><font SIZE="3">
+&nbsp;&nbsp;&nbsp;
+wdCanvasVectorText</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0.25</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0.35</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#a31515">&quot;WDj&quot;</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p>
+<p>&nbsp;</p><p><font SIZE="3" COLOR="#008000">/* Reset line width
+*/</font></p>
+<p><font SIZE="3">
+cdCanvasLineWidth</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">1</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3" COLOR="#ff00ff">&nbsp;</font></p><p><font SIZE="3">
+</font><font SIZE="3" COLOR="#008000">/* Draw a filled path at center-right
+(looks like a weird fish). </p>
+<p>&nbsp;&nbsp;&nbsp; Notice that in PDF the arc is necessarily a circle arc, and not an ellipse.
+*/</font></p><p><font SIZE="3">
+cdCanvasForeground</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_GREEN</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasBegin</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_PATH</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasPathSet</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_PATH_MOVETO</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3">
+</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">200</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasPathSet</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_PATH_LINETO</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3">
+</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">230</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3">
+</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">50</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasPathSet</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_PATH_LINETO</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3">
+</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">250</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3">
+</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">50</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasPathSet</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_PATH_CURVETO</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3" COLOR="#800000">150</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3" COLOR="#800000">150</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3" COLOR="#800000">200</font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3" COLOR="#800000">50</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#008000">/* control point for start */</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3" COLOR="#800000">150</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3" COLOR="#800000">180</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3" COLOR="#800000">250</font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3" COLOR="#800000">50</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#008000">/* control point for end */</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3" COLOR="#800000">150</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3" COLOR="#800000">180</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3" COLOR="#800000">200</font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3" COLOR="#800000">50</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#008000">/* end point */</font></p><p><font SIZE="3">
+cdCanvasPathSet</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_PATH_CURVETO</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3" COLOR="#800000">150</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3" COLOR="#800000">180</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3" COLOR="#800000">150</font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3" COLOR="#800000">50</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3" COLOR="#800000">150</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3" COLOR="#800000">150</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3" COLOR="#800000">50</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3" COLOR="#800000">150</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3" COLOR="#800000">300</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3" COLOR="#800000">50</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasPathSet</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_PATH_LINETO</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3" COLOR="#800000">150</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3" COLOR="#800000">300</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3" COLOR="#800000">50</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasPathSet</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_PATH_ARC</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3" COLOR="#800000">300</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#008000">/* center */</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">200</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#008000">/* width, height */</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3" COLOR="#800000">30</font><font SIZE="3" COLOR="#ff00ff"><b>*</b></font><font SIZE="3" COLOR="#800000">1000</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3" COLOR="#800000">170</font><font SIZE="3" COLOR="#ff00ff"><b>*</b></font><font SIZE="3" COLOR="#800000">1000</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#008000">/* start angle, end angle (degrees / 1000)
+*/</p>
+</font>
+<p><font SIZE="3">
+cdCanvasPathSet</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_PATH_FILL</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p>
+<p><font SIZE="3">
+cdCanvasEnd</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p>
+<p>&nbsp;</p><p><font SIZE="3">
+</font><font SIZE="3" COLOR="#008000">/* Draw 3 pixels at center left. */</font></p><p><font SIZE="3">
+cdCanvasPixel</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">10</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3" COLOR="#800000">0</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_RED</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasPixel</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">11</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3" COLOR="#800000">1</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_GREEN</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasPixel</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">12</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_BLUE</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p>
+<p>&nbsp;</p><p><font SIZE="3">
+</font><font SIZE="3" COLOR="#008000">/* Draw 4 mark types, distributed near
+each corner. */</font></p><p><font SIZE="3">
+cdCanvasForeground</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_RED</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasMarkSize</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">30</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasMarkType</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_PLUS</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasMark</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">200</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">200</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasMarkType</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_CIRCLE</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasMark</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w </font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">200</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">200</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasMarkType</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_HOLLOW_CIRCLE</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasMark</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">200</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h </font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">200</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasMarkType</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_DIAMOND</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasMark</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w </font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">200</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h </font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">200</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p>
+<p>&nbsp;</p><p><font SIZE="3">
+</font><font SIZE="3" COLOR="#008000">/* Draw all the line style
+possibilities at bottom. </p>
+<p>&nbsp;&nbsp;&nbsp; Notice that they have some small differences between drivers. */</font></p><p><font SIZE="3">
+cdCanvasLineWidth</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">1</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasLineStyle</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_CONTINUOUS</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasLine</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">10</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">10</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasLineStyle</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_DASHED</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasLine</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">20</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">20</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasLineStyle</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_DOTTED</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasLine</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">30</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">30</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasLineStyle</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_DASH_DOT</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasLine</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">40</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">40</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasLineStyle</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_DASH_DOT_DOT</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasLine</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">50</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">50</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p>
+<p>&nbsp;</p><p><font SIZE="3">
+</font><font SIZE="3" COLOR="#008000">/* Draw all the hatch style
+possibilities in the top-left corner.</p>
+<p>&nbsp;&nbsp;&nbsp; Notice that they have some small differences between drivers. */</font></p><p><font SIZE="3">
+cdCanvasHatch</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_VERTICAL</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasBox</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">50</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h </font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">60</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasHatch</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_FDIAGONAL</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasBox</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">50</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h </font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">60</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasHatch</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_BDIAGONAL</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasBox</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">150</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h </font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">60</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasHatch</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_CROSS</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasBox</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">150</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">200</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h </font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">60</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasHatch</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_HORIZONTAL</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasBox</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">200</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">250</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h </font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">60</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasHatch</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_DIAGCROSS</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasBox</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">250</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">300</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h </font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">60</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p>
+<p>&nbsp;</p><p><font SIZE="3">
+</font><font SIZE="3" COLOR="#008000">/* Draw 4 regions, in diamond shape,</p>
+<p>&nbsp;&nbsp;&nbsp; at top, bottom, left, right, </p>
+<p>&nbsp;&nbsp;&nbsp; using different interior styles. <font SIZE="3" COLOR="#008000">
+*/</font></p>
+<p>&nbsp;</p>
+<p>/* At top, not filled polygon, notice that the last line style is used. */</font></p><p><font SIZE="3">
+cdCanvasBegin</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_CLOSED_LINES</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h </font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3">
+</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">50</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h </font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">150</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h </font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">200</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3">
+</font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">50</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h </font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">150</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasEnd</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p>
+<p>&nbsp;</p><p><font SIZE="3">
+</font><font SIZE="3" COLOR="#008000">/* At left, hatch filled polygon */</font></p><p><font SIZE="3">
+cdCanvasHatch</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_DIAGCROSS</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasBegin</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_FILL</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">150</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3">
+</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">50</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">200</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">150</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3">
+</font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">50</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasEnd</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p>
+<p>&nbsp;</p><p><font SIZE="3">
+</font><font SIZE="3" COLOR="#008000">/* At right, pattern filled polygon */</font></p><p><font SIZE="3">
+cdCanvasPattern</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+STYLE_SIZE</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+STYLE_SIZE</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+pattern</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasBegin</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_FILL</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w </font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w </font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">150</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3">
+</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">50</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w </font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">200</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w </font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">150</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3">
+</font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">50</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasEnd</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p></p><font SIZE="3">
+
+<p></font><font SIZE="3" COLOR="#008000">/* At bottom, stipple filled polygon */</font></p><p><font SIZE="3">
+cdCanvasStipple</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+STYLE_SIZE</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+STYLE_SIZE</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+stipple</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasBegin</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_FILL</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3">
+</font><font SIZE="3" COLOR="#ff00ff"><b>+</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">50</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">150</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">200</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w</font><font SIZE="3" COLOR="#ff00ff"><b>/</b></font><font SIZE="3" COLOR="#800000">2</font><font SIZE="3">
+</font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">50</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">150</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasEnd</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p>
+<p>&nbsp;</p><p><font SIZE="3">
+</font><font SIZE="3" COLOR="#008000">/* Draw two beziers at bottom-left */</font></p><p><font SIZE="3">
+cdCanvasBegin</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+CD_BEZIER</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p><p><font SIZE="3">
+cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">150</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">200</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">180</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">250</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">180</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">200</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">180</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">150</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">150</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">300</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">100</font><font SIZE="3" COLOR="#ff00ff"><b>);</b></font></p><font SIZE="3">
+
+<p>cdCanvasEnd</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p>
+<p>&nbsp;</p>
+<p><font SIZE="3" COLOR="#008000">/* Draw the image on the top-right
+corner but increasing its actual size, and uses its full area */</font></p><p><font SIZE="3">
+cdCanvasPutImageRectRGBA</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+IMAGE_SIZE</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+IMAGE_SIZE</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+red</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3"> green</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+blue</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3"> alpha</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+w </font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">400</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+h </font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font>
+<font SIZE="3" COLOR="#800000">310</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">3</font><font SIZE="3" COLOR="#ff00ff"><b>*</b></font><font SIZE="3">IMAGE_SIZE</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">3</font><font SIZE="3" COLOR="#ff00ff"><b>*</b></font><font SIZE="3">IMAGE_SIZE</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3">
+</font><font SIZE="3" COLOR="#800000">0</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p>
+<p>&nbsp;</p>
+<p><font SIZE="3" COLOR="#008000">/* Adds a new page, or </p>
+<p>&nbsp;&nbsp;&nbsp; flushes the file, or</p>
+<p>&nbsp;&nbsp;&nbsp; flushes the screen, or</p>
+<p>&nbsp;&nbsp;&nbsp; swap the double buffer. */</font></p><p><font SIZE="3">
+cdCanvasFlush</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>);</b>
+</font></p>
+</div>
+<font SIZE="3" COLOR="#ff00ff"><b>
+<p>}</b>
+</font></p>
+
+
+
+
+</body>
+
+</html>
diff --git a/html/screenshots/cd_cgm_powerpoint.png b/html/screenshots/cd_cgm_powerpoint.png
deleted file mode 100644
index 9d305a6..0000000
--- a/html/screenshots/cd_cgm_powerpoint.png
+++ /dev/null
Binary files differ
diff --git a/html/screenshots/cd_emf_gdiplus_powerpoint.png b/html/screenshots/cd_emf_gdiplus_powerpoint.png
index 8851c41..20d6b44 100644
--- a/html/screenshots/cd_emf_gdiplus_powerpoint.png
+++ b/html/screenshots/cd_emf_gdiplus_powerpoint.png
Binary files differ
diff --git a/html/screenshots/cd_emf_gdiplus_powerpoint_small.png b/html/screenshots/cd_emf_gdiplus_powerpoint_small.png
deleted file mode 100644
index 88fc8ce..0000000
--- a/html/screenshots/cd_emf_gdiplus_powerpoint_small.png
+++ /dev/null
Binary files differ
diff --git a/html/screenshots/cd_emf_win32_powerpoint.png b/html/screenshots/cd_emf_win32_powerpoint.png
index 720e16a..3dc95f5 100644
--- a/html/screenshots/cd_emf_win32_powerpoint.png
+++ b/html/screenshots/cd_emf_win32_powerpoint.png
Binary files differ
diff --git a/html/screenshots/cd_emf_win32_powerpoint_small.png b/html/screenshots/cd_emf_win32_powerpoint_small.png
deleted file mode 100644
index c016e6f..0000000
--- a/html/screenshots/cd_emf_win32_powerpoint_small.png
+++ /dev/null
Binary files differ
diff --git a/html/screenshots/cd_imagergb_small.png b/html/screenshots/cd_imagergb_small.png
deleted file mode 100644
index aa85239..0000000
--- a/html/screenshots/cd_imagergb_small.png
+++ /dev/null
Binary files differ
diff --git a/html/screenshots/cd_nativewindow_cairo_small.png b/html/screenshots/cd_nativewindow_cairo_small.png
deleted file mode 100644
index 93a6c8d..0000000
--- a/html/screenshots/cd_nativewindow_cairo_small.png
+++ /dev/null
Binary files differ
diff --git a/html/screenshots/cd_nativewindow_gdiplus_small.png b/html/screenshots/cd_nativewindow_gdiplus_small.png
deleted file mode 100644
index 0a52179..0000000
--- a/html/screenshots/cd_nativewindow_gdiplus_small.png
+++ /dev/null
Binary files differ
diff --git a/html/screenshots/cd_nativewindow_gdk_small.png b/html/screenshots/cd_nativewindow_gdk_small.png
deleted file mode 100644
index da08abf..0000000
--- a/html/screenshots/cd_nativewindow_gdk_small.png
+++ /dev/null
Binary files differ
diff --git a/html/screenshots/cd_nativewindow_win32_small.png b/html/screenshots/cd_nativewindow_win32_small.png
deleted file mode 100644
index 3436768..0000000
--- a/html/screenshots/cd_nativewindow_win32_small.png
+++ /dev/null
Binary files differ
diff --git a/html/screenshots/cd_nativewindow_x11_small.png b/html/screenshots/cd_nativewindow_x11_small.png
deleted file mode 100644
index fc334e2..0000000
--- a/html/screenshots/cd_nativewindow_x11_small.png
+++ /dev/null
Binary files differ
diff --git a/html/screenshots/cd_pdf.pdf b/html/screenshots/cd_pdf.pdf
index 9bce6b9..375cfc6 100644
--- a/html/screenshots/cd_pdf.pdf
+++ b/html/screenshots/cd_pdf.pdf
Binary files differ
diff --git a/html/screenshots/cd_pdf_acrobatreader.png b/html/screenshots/cd_pdf_acrobatreader.png
index 4583208..fb30547 100644
--- a/html/screenshots/cd_pdf_acrobatreader.png
+++ b/html/screenshots/cd_pdf_acrobatreader.png
Binary files differ
diff --git a/html/screenshots/cd_pdf_acrobatreader_small.png b/html/screenshots/cd_pdf_acrobatreader_small.png
deleted file mode 100644
index a4261be..0000000
--- a/html/screenshots/cd_pdf_acrobatreader_small.png
+++ /dev/null
Binary files differ
diff --git a/html/screenshots/cd_ps.ps b/html/screenshots/cd_ps.ps
index 00798f6..cc133eb 100644
--- a/html/screenshots/cd_ps.ps
+++ b/html/screenshots/cd_ps.ps
@@ -1,7 +1,7 @@
%!PS-Adobe-3.0
%%Title: CanvasDraw
%%Creator: CanvasDraw
-%%CreationDate: Wed Jun 16 18:04:59 2010
+%%CreationDate: Thu Jun 17 13:58:53 2010
%%DocumentFonts: (atend)
%%Pages: (atend)
%%PageOrder: Ascend
@@ -128,7 +128,7 @@ N
340 200 L
310 210 L
S
-[94.4882 70.8661 23.622 23.622 ] 0 setdash
+[20 15 5 5 ] 0 setdash
1 0 0 setrgbcolor
N 0 0 1279 937 LL
10 setlinewidth
diff --git a/html/screenshots/cd_ps_ghostscript.png b/html/screenshots/cd_ps_ghostscript.png
index 11ef75f..c5c42f6 100644
--- a/html/screenshots/cd_ps_ghostscript.png
+++ b/html/screenshots/cd_ps_ghostscript.png
Binary files differ
diff --git a/html/screenshots/cd_ps_ghostscript_small.png b/html/screenshots/cd_ps_ghostscript_small.png
deleted file mode 100644
index 1de229d..0000000
--- a/html/screenshots/cd_ps_ghostscript_small.png
+++ /dev/null
Binary files differ
diff --git a/html/screenshots/cd_svg.svg b/html/screenshots/cd_svg.svg
index a356f21..9749d21 100644
--- a/html/screenshots/cd_svg.svg
+++ b/html/screenshots/cd_svg.svg
@@ -1,37 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="767.999pt" height="562.799pt" viewBox="0 0 1024 750" version="1.1">
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="767.999pt" height="562.799pt" viewBox="0 0 1279 937" version="1.1">
<g>
<pattern id="pattern0" patternUnits="userSpaceOnUse" x="0" y="0" width="7" height="7">
<line x1="0" y1="3" x2="7" y2="3" style="fill:none; stroke:rgb(0,0,0); opacity:1" />
</pattern>
-<rect x="100" y="549" width="100" height="100" style="fill:none; stroke:rgb(128,0,128); stroke-width:3; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" />
-<polyline style="fill:none; stroke:rgb(128,0,128); stroke-width:3; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" points="300,499 320,479 350,489 340,549 310,539 " />
-<line x1="0" y1="749" x2="1023" y2="0" style="fill:none; stroke:rgb(255,0,0); stroke-width:3; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:20, 15, 5, 5; opacity:1" />
-<line x1="0" y1="0" x2="1023" y2="749" style="fill:none; stroke:rgb(0,0,255); stroke-width:10; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:2,2; opacity:1" />
-<path d="M924,649 L956.139,610.698 A50,50 0 0,0 874,649 Z" style="fill:rgb(255,0,255); stroke:none; opacity:1" />
-<path d="M132.139,610.698 A50,50 0 0,0 50,649" style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" />
-<rect x="412" y="274" width="200" height="200" style="fill:rgb(255,255,0); stroke:none; opacity:1" />
-<polygon style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" points="487,498 573,263 538,250 452,485 487,498 " />
-<text transform="matrix(0.34202 -0.939693 0.939693 0.34202 512 374)" font-family="Times" font-size="24pt" font-style="normal" font-weight="bold" text-decoration="none" text-anchor="middle" dominant-baseline="middle" fill="rgb(0,0,255)">
+<rect x="100" y="736" width="100" height="100" style="fill:none; stroke:rgb(128,0,128); stroke-width:3; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" />
+<polyline style="fill:none; stroke:rgb(128,0,128); stroke-width:3; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" points="300,686 320,666 350,676 340,736 310,726 " />
+<line x1="0" y1="936" x2="1278" y2="0" style="fill:none; stroke:rgb(255,0,0); stroke-width:3; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:20, 15, 5, 5; opacity:1" />
+<line x1="0" y1="0" x2="1278" y2="936" style="fill:none; stroke:rgb(0,0,255); stroke-width:10; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:2,2; opacity:1" />
+<path d="M1179,836 L1211.14,797.698 A50,50 0 0,0 1129,836 Z" style="fill:rgb(255,0,255); stroke:none; opacity:1" />
+<path d="M132.139,797.698 A50,50 0 0,0 50,836" style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" />
+<rect x="539" y="368" width="200" height="200" style="fill:rgb(255,255,0); stroke:none; opacity:1" />
+<polygon style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" points="608,624 715,330 671,314 564,608 608,624 " />
+<text transform="matrix(0.34202 -0.939693 0.939693 0.34202 639 468)" font-family="Times" font-size="24pt" font-style="normal" font-weight="bold" text-decoration="none" text-anchor="middle" dominant-baseline="middle" fill="rgb(0,0,255)">
&#x63;&#x64;&#x4D;&#x69;&#x6E;&#x20;&#x44;&#x72;&#x61;&#x77;&#x20;&#x28;&#xE7;&#xE3;&#xED;&#x29;
</text>
-<rect x="149.854" y="374.5" width="74.9268" height="74.9" style="fill:rgb(0,0,255); stroke:none; opacity:1" />
-<line x1="149.854" y1="449.4" x2="224.78" y2="374.5" style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" />
-<polygon style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" points="142.361,519.619 232.273,519.619 232.273,454.081 142.361,454.081 142.361,519.619 " />
-<path d="M 712 374 L 742 324 L 762 324 C 812 224 842 174 842 224 C 842 274 812 324 962 324 L 962 424 L 898.603 399 A 100 50 0 0 1 713.519 382.682 " style="fill:rgb(0,255,0); fill-rule:evenodd; stroke:none; opacity:1" />
-<circle cx="10" cy="374" r="0.5" style="fill:rgb(255,0,0); stroke:none; opacity:1" />
-<circle cx="11" cy="373" r="0.5" style="fill:rgb(0,255,0); stroke:none; opacity:1" />
-<circle cx="12" cy="372" r="0.5" style="fill:rgb(0,0,255); stroke:none; opacity:1" />
-<line x1="185" y1="549" x2="215" y2="549" style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" />
-<line x1="200" y1="534" x2="200" y2="564" style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" />
-<ellipse cx="824" cy="549" rx="15" ry="15" style="fill:rgb(255,0,0); stroke:none; opacity:1" />
+<rect x="187.253" y="468" width="93.6267" height="93.6" style="fill:rgb(0,0,255); stroke:none; opacity:1" />
+<line x1="187.253" y1="561.6" x2="280.88" y2="468" style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" />
+<polygon style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" points="177.891,649.35 290.243,649.35 290.243,567.45 177.891,567.45 177.891,649.35 " />
+<path d="M 839 468 L 869 418 L 889 418 C 939 318 969 268 969 318 C 969 368 939 418 1089 418 L 1089 518 L 1025.6 493 A 100 50 0 0 1 840.519 476.682 " style="fill:rgb(0,255,0); fill-rule:evenodd; stroke:none; opacity:1" />
+<circle cx="10" cy="468" r="0.5" style="fill:rgb(255,0,0); stroke:none; opacity:1" />
+<circle cx="11" cy="467" r="0.5" style="fill:rgb(0,255,0); stroke:none; opacity:1" />
+<circle cx="12" cy="466" r="0.5" style="fill:rgb(0,0,255); stroke:none; opacity:1" />
+<line x1="185" y1="736" x2="215" y2="736" style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" />
+<line x1="200" y1="721" x2="200" y2="751" style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" />
+<ellipse cx="1079" cy="736" rx="15" ry="15" style="fill:rgb(255,0,0); stroke:none; opacity:1" />
<ellipse cx="200" cy="199" rx="15" ry="15" style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" />
-<polygon style="fill:rgb(255,0,0); fill-rule:evenodd; stroke:none; opacity:1" points="809,199 824,214 839,199 824,184 " />
-<line x1="0" y1="739" x2="1024" y2="739" style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" />
-<line x1="0" y1="729" x2="1024" y2="729" style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:6,2; opacity:1" />
-<line x1="0" y1="719" x2="1024" y2="719" style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:2,2; opacity:1" />
-<line x1="0" y1="709" x2="1024" y2="709" style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:6,2,2,2; opacity:1" />
-<line x1="0" y1="699" x2="1024" y2="699" style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:6,2,2,2,2,2; opacity:1" />
+<polygon style="fill:rgb(255,0,0); fill-rule:evenodd; stroke:none; opacity:1" points="1064,199 1079,214 1094,199 1079,184 " />
+<line x1="0" y1="926" x2="1279" y2="926" style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" />
+<line x1="0" y1="916" x2="1279" y2="916" style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:6,2; opacity:1" />
+<line x1="0" y1="906" x2="1279" y2="906" style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:2,2; opacity:1" />
+<line x1="0" y1="896" x2="1279" y2="896" style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:6,2,2,2; opacity:1" />
+<line x1="0" y1="886" x2="1279" y2="886" style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:6,2,2,2,2,2; opacity:1" />
<pattern id="pattern1" patternUnits="userSpaceOnUse" x="0" y="0" width="7" height="7">
<line x1="3" y1="0" x2="3" y2="7" style="fill:none; stroke:rgb(255,0,0); opacity:1" />
</pattern>
@@ -58,12 +58,12 @@
<line x1="7" y1="0" x2="0" y2="7" style="fill:none; stroke:rgb(255,0,0); opacity:1" />
</pattern>
<rect x="250" y="-1" width="50" height="60" style="fill:url(#pattern6); stroke:none; opacity:1" />
-<polygon style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:6,2,2,2,2,2; opacity:1" points="512,99 562,149 512,199 462,149 512,99 " />
+<polygon style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:6,2,2,2,2,2; opacity:1" points="639,99 689,149 639,199 589,149 639,99 " />
<pattern id="pattern7" patternUnits="userSpaceOnUse" x="0" y="0" width="7" height="7">
<line x1="0" y1="0" x2="7" y2="7" style="fill:none; stroke:rgb(255,0,0); opacity:1" />
<line x1="7" y1="0" x2="0" y2="7" style="fill:none; stroke:rgb(255,0,0); opacity:1" />
</pattern>
-<polygon style="fill:url(#pattern7); fill-rule:evenodd; stroke:none; opacity:1" points="100,374 150,324 200,374 150,424 " />
+<polygon style="fill:url(#pattern7); fill-rule:evenodd; stroke:none; opacity:1" points="100,468 150,418 200,468 150,518 " />
<pattern id="pattern8" patternUnits="userSpaceOnUse" x="0" y="0" width="10" height="10">
<rect x="0" y="0" width="1" height="1" style="fill:rgb(255,255,255); opacity:1" />
<rect x="1" y="0" width="1" height="1" style="fill:rgb(255,255,255); opacity:1" />
@@ -166,7 +166,7 @@
<rect x="8" y="9" width="1" height="1" style="fill:rgb(255,255,255); opacity:1" />
<rect x="9" y="9" width="1" height="1" style="fill:rgb(255,255,255); opacity:1" />
</pattern>
-<polygon style="fill:url(#pattern8); fill-rule:evenodd; stroke:none; opacity:1" points="924,374 874,324 824,374 874,424 " />
+<polygon style="fill:url(#pattern8); fill-rule:evenodd; stroke:none; opacity:1" points="1179,468 1129,418 1079,468 1129,518 " />
<pattern id="pattern9" patternUnits="userSpaceOnUse" x="0" y="0" width="10" height="10">
<rect x="0" y="0" width="1" height="1" style="fill:rgb(255,0,0); opacity:1" />
<rect x="4" y="0" width="1" height="1" style="fill:rgb(255,0,0); opacity:1" />
@@ -199,16 +199,16 @@
<rect x="4" y="9" width="1" height="1" style="fill:rgb(255,0,0); opacity:1" />
<rect x="8" y="9" width="1" height="1" style="fill:rgb(255,0,0); opacity:1" />
</pattern>
-<polygon style="fill:url(#pattern9); fill-rule:evenodd; stroke:none; opacity:1" points="512,649 562,599 512,549 462,599 " />
-<path d="M100,649 C150,549 180,499 180,549 180,599 150,649 300,649 " style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:6,2,2,2,2,2; opacity:1" />
-<polyline style="fill:none; stroke:rgb(255,0,0); stroke-width:2; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" points="142.361,467.189 151.727,506.511 " />
-<polyline style="fill:none; stroke:rgb(255,0,0); stroke-width:2; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" points="161.093,467.189 151.727,506.511 " />
-<polyline style="fill:none; stroke:rgb(255,0,0); stroke-width:2; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" points="161.093,467.189 170.458,506.511 " />
-<polyline style="fill:none; stroke:rgb(255,0,0); stroke-width:2; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" points="179.824,467.189 170.458,506.511 " />
-<polyline style="fill:none; stroke:rgb(255,0,0); stroke-width:2; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" points="183.571,467.189 183.571,506.511 " />
-<polyline style="fill:none; stroke:rgb(255,0,0); stroke-width:2; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" points="183.571,467.189 196.683,467.189 202.302,469.061 206.049,472.806 207.922,476.551 209.795,482.169 209.795,491.531 207.922,497.149 206.049,500.894 202.302,504.639 196.683,506.511 183.571,506.511 " />
-<polyline style="fill:none; stroke:rgb(255,0,0); stroke-width:2; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" points="222.907,467.189 224.78,469.061 226.653,467.189 224.78,465.316 222.907,467.189 " />
-<polyline style="fill:none; stroke:rgb(255,0,0); stroke-width:2; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" points="224.78,480.296 224.78,512.129 222.907,517.746 219.161,519.619 215.414,519.619 " />
-<image transform="matrix(1 0 0 1 624 9)" width="300" height="300" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAA4UlEQVR4Ae3dsQ3DIBSGwR/jPT1DJskKYaOMlCIpEokW8or7GiReAeJk1y3vjiR9ss72Vsx2nVP+DmeSXPfr46J/Nm4jh2eoFRAgAgJEQIAICBABASIgAgJEQIAICBABASIgAgJEQIAICBABASIgAgJEQIAICBABASIgAgJEQIAICBABASIg+ulMksfTQ1Ro+EL8sgQEiIAAERAgAiIgQAQEiIAAERAgAgJEQAQEiIAAERAgAgJEQAQEiIAAERAgAgJEQAQEiIAAERAgAgJEQASkeO0Lpk/W2d6K2a5zyt/hBTDiB9oFXFjmAAAAEHRFWHRMb2RlUE5HADIwMDgwOTI3wCNNwQAAAABJRU5ErkJggg=="/>
+<polygon style="fill:url(#pattern9); fill-rule:evenodd; stroke:none; opacity:1" points="639,836 689,786 639,736 589,786 " />
+<path d="M100,836 C150,736 180,686 180,736 180,786 150,836 300,836 " style="fill:none; stroke:rgb(255,0,0); stroke-width:1; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:6,2,2,2,2,2; opacity:1" />
+<polyline style="fill:none; stroke:rgb(255,0,0); stroke-width:2; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" points="177.891,583.83 189.594,632.97 " />
+<polyline style="fill:none; stroke:rgb(255,0,0); stroke-width:2; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" points="201.297,583.83 189.594,632.97 " />
+<polyline style="fill:none; stroke:rgb(255,0,0); stroke-width:2; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" points="201.297,583.83 213.001,632.97 " />
+<polyline style="fill:none; stroke:rgb(255,0,0); stroke-width:2; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" points="224.704,583.83 213.001,632.97 " />
+<polyline style="fill:none; stroke:rgb(255,0,0); stroke-width:2; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" points="229.386,583.83 229.386,632.97 " />
+<polyline style="fill:none; stroke:rgb(255,0,0); stroke-width:2; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" points="229.386,583.83 245.77,583.83 252.792,586.17 257.474,590.85 259.814,595.53 262.155,602.55 262.155,614.25 259.814,621.27 257.474,625.95 252.792,630.63 245.77,632.97 229.386,632.97 " />
+<polyline style="fill:none; stroke:rgb(255,0,0); stroke-width:2; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" points="278.54,583.83 280.88,586.17 283.221,583.83 280.88,581.49 278.54,583.83 " />
+<polyline style="fill:none; stroke:rgb(255,0,0); stroke-width:2; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:0; opacity:1" points="280.88,600.21 280.88,639.99 278.54,647.01 273.858,649.35 269.177,649.35 " />
+<image transform="matrix(1 0 0 1 879 9)" width="300" height="300" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAA4UlEQVR4Ae3dsQ3DIBSGwR/jPT1DJskKYaOMlCIpEokW8or7GiReAeJk1y3vjiR9ss72Vsx2nVP+DmeSXPfr46J/Nm4jh2eoFRAgAgJEQIAICBABASIgAgJEQIAICBABASIgAgJEQIAICBABASIgAgJEQIAICBABASIgAgJEQIAICBABASIg+ulMksfTQ1Ro+EL8sgQEiIAAERAgAiIgQAQEiIAAERAgAgJEQAQEiIAAERAgAgJEQAQEiIAAERAgAgJEQAQEiIAAERAgAgJEQASkeO0Lpk/W2d6K2a5zyt/hBTDiB9oFXFjmAAAAEHRFWHRMb2RlUE5HADIwMDgwOTI3wCNNwQAAAABJRU5ErkJggg=="/>
</g>
</svg>
diff --git a/html/screenshots/cd_svg_firefox_small.png b/html/screenshots/cd_svg_firefox_small.png
deleted file mode 100644
index 429b887..0000000
--- a/html/screenshots/cd_svg_firefox_small.png
+++ /dev/null
Binary files differ
diff --git a/html/screenshots/small/cd_emf_gdiplus_powerpoint_small.png b/html/screenshots/small/cd_emf_gdiplus_powerpoint_small.png
index 88fc8ce..701b7d1 100644
--- a/html/screenshots/small/cd_emf_gdiplus_powerpoint_small.png
+++ b/html/screenshots/small/cd_emf_gdiplus_powerpoint_small.png
Binary files differ
diff --git a/html/screenshots/small/cd_emf_win32_powerpoint_small.png b/html/screenshots/small/cd_emf_win32_powerpoint_small.png
index c016e6f..f7bac00 100644
--- a/html/screenshots/small/cd_emf_win32_powerpoint_small.png
+++ b/html/screenshots/small/cd_emf_win32_powerpoint_small.png
Binary files differ
diff --git a/html/screenshots/small/cd_pdf_acrobatreader_small.png b/html/screenshots/small/cd_pdf_acrobatreader_small.png
index a4261be..884634a 100644
--- a/html/screenshots/small/cd_pdf_acrobatreader_small.png
+++ b/html/screenshots/small/cd_pdf_acrobatreader_small.png
Binary files differ
diff --git a/html/screenshots/small/cd_ps_ghostscript_small.png b/html/screenshots/small/cd_ps_ghostscript_small.png
index 1de229d..0b5c30e 100644
--- a/html/screenshots/small/cd_ps_ghostscript_small.png
+++ b/html/screenshots/small/cd_ps_ghostscript_small.png
Binary files differ
diff --git a/html/wb/wb_usr.lua b/html/wb/wb_usr.lua
index 49e86ab..9cb014a 100644
--- a/html/wb/wb_usr.lua
+++ b/html/wb/wb_usr.lua
@@ -78,7 +78,14 @@ wb_usr.tree =
},
{
name= {en= "Screenshots"},
- link= "screenshots.html"
+ link= "screenshots.html",
+ folder=
+ {
+ {
+ name= {en= "C Source Code"},
+ link= "screenshots_src_c.html"
+ }
+ }
},
{
name= {en= "Comparing", pt= "Outras Bibliotecas Gráficas"},
diff --git a/html/wb_search.txt b/html/wb_search.txt
index 8a17d60..fae2db1 100644
--- a/html/wb_search.txt
+++ b/html/wb_search.txt
@@ -1,44 +1,45 @@
en/history.html
+en/drv/xrender.html
en/drv/debug.html
en/func/server.html
en/func/wd.html
en/func/client.html
en/func/region.html
-en/drv/xrender.html
-en/drv/sim.html
en/drv/gdiplus.html
+en/drv/sim.html
+en/drv/cairo.html
en/drv/native.html
en/func/control.html
-en/drv/cairo.html
-en/drv/irgb.html
+en/drv/xwin.html
en/drv/win32.html
+en/drv/gdk.html
en/func/vectortext.html
en/cvs.html
en/func/init.html
-en/drv/gdk.html
+en/drv/pdf.html
en/drv/picture.html
en/func/attributes.html
-en/drv/ps.html
+en/drv/emf.html
en/func/text.html
en/func/filled.html
en/prod.html
en/screenshots.html
en/samples.html
-en/drv/emf.html
-en/func/marks.html
-en/to_do.html
+en/drv/dbufrgb.html
en/func/clipping.html
-en/drv.html
+en/to_do.html
en/drv/cgm.html
+en/drv.html
en/drv/mf.html
-en/drv/iup.html
+en/drv/irgb.html
+en/drv/ps.html
en/drv/wmf.html
-en/drv/pdf.html
+en/func/marks.html
en/drv/dxf.html
en/copyright.html
-en/drv/dbufrgb.html
+en/drv/iup.html
en/drv/svg.html
-en/drv/xwin.html
+en/screenshots_src_c.html
en/drv/printer.html
en/func/coordinates.html
en/guide.html
@@ -47,8 +48,8 @@ en/drv/image.html
en/func/color.html
en/cdlua.html
en/drv/clipbd.html
-en/func/lines.html
en/download.html
+en/func/lines.html
en/func/polygon.html
en/drv/dbuf.html
en/func/other.html
diff --git a/html/wb_tree.html b/html/wb_tree.html
index 23e1af4..3d99c7c 100644
--- a/html/wb_tree.html
+++ b/html/wb_tree.html
@@ -235,320 +235,323 @@
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link10folder.1" href="en/cvs.html">CVS</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link11folder.1" href="en/history.html">History</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link12folder.1" href="en/to_do.html">To Do</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link13folder.1" href="en/screenshots.html">Screenshots</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link14folder.1" href="en/toolkits.html">Comparing</a></p>
+ <p><img src="wb_img/vertline.png"><img name="imgfolder.1.2" src="wb_img/plusnode.png" onclick="toggleFolder('folder.1.2')"><a name="link13folder.1.2" class="el" href="en/screenshots.html">Screenshots</a></p>
+ <div id="folder.1.2">
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link14folder.1.2" href="en/screenshots_src_c.html">C Source Code</a></p>
+ </div>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link15folder.1" href="en/toolkits.html">Comparing</a></p>
</div>
- <p><img name="imgfolder.2" src="wb_img/plusnode.png" onclick="toggleFolder('folder.2')"><a name="link15folder.2" class="el" href="en/guide.html">Guide</a></p>
+ <p><img name="imgfolder.2" src="wb_img/plusnode.png" onclick="toggleFolder('folder.2')"><a name="link16folder.2" class="el" href="en/guide.html">Guide</a></p>
<div id="folder.2">
- <p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link16folder.2" href="en/guide.html#start">Getting Started</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link17folder.2" href="en/guide.html#buildapp">Building Applications</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link18folder.2" href="en/guide.html#buildlib">Building the Library</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link19folder.2" href="en/guide.html#Environment">Environment Variables</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link20folder.2" href="en/guide.html#NewDriver">Implementing a Driver</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link21folder.2" href="en/guide.html#Play">Intercepting Primitives</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link22folder.2" href="en/guide.html#IUP">IUP Compatibility</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link17folder.2" href="en/guide.html#start">Getting Started</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link18folder.2" href="en/guide.html#buildapp">Building Applications</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link19folder.2" href="en/guide.html#buildlib">Building the Library</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link20folder.2" href="en/guide.html#Environment">Environment Variables</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link21folder.2" href="en/guide.html#NewDriver">Implementing a Driver</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link22folder.2" href="en/guide.html#Play">Intercepting Primitives</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link23folder.2" href="en/guide.html#IUP">IUP Compatibility</a></p>
<p class="sep"><img src="wb_img/sepvertline.png"><img src="wb_img/sepnode.png"></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link23folder.2" href="en/internal.html">Internal Architecture</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link24folder.2" href="en/samples.html">Samples</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link25folder.2" href="en/cdlua.html">Lua Binding</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link26folder.2" href="en/cdluaim.html">CDLua+IMLua</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link24folder.2" href="en/internal.html">Internal Architecture</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link25folder.2" href="en/samples.html">Samples</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link26folder.2" href="en/cdlua.html">Lua Binding</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link27folder.2" href="en/cdluaim.html">CDLua+IMLua</a></p>
</div>
<p class="sep"><img src="wb_img/sepnode.png"></p>
- <p><img name="imgfolder.3" src="wb_img/plusnode.png" onclick="toggleFolder('folder.3')"><a name="link27folder.3" class="el" href="en/canvas.html">Canvas</a></p>
+ <p><img name="imgfolder.3" src="wb_img/plusnode.png" onclick="toggleFolder('folder.3')"><a name="link28folder.3" class="el" href="en/canvas.html">Canvas</a></p>
<div id="folder.3">
<p><img src="wb_img/vertline.png"><img name="imgfolder.3.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.3.1')"> Initialization</p>
<div id="folder.3.1">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link28folder.3.1" href="en/func/init.html#cdCreateCanvas">CreateCanvas</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link29folder.3.1" href="en/func/init.html#cdCreateCanvasf">CreateCanvasf</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link30folder.3.1" href="en/func/init.html#cdKillCanvas">KillCanvas</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link31folder.3.1" href="en/func/init.html#cdCanvasActivate">Activate</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link32folder.3.1" href="en/func/init.html#cdCanvasDeactivate">Deactivate</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link33folder.3.1" href="en/func/init.html#cdUseContextPlus">UseContextPlus</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link34folder.3.1" href="en/func/init.html#cdInitContextPlus">InitContextPlus</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link29folder.3.1" href="en/func/init.html#cdCreateCanvas">CreateCanvas</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link30folder.3.1" href="en/func/init.html#cdCreateCanvasf">CreateCanvasf</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link31folder.3.1" href="en/func/init.html#cdKillCanvas">KillCanvas</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link32folder.3.1" href="en/func/init.html#cdCanvasActivate">Activate</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link33folder.3.1" href="en/func/init.html#cdCanvasDeactivate">Deactivate</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link34folder.3.1" href="en/func/init.html#cdUseContextPlus">UseContextPlus</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link35folder.3.1" href="en/func/init.html#cdInitContextPlus">InitContextPlus</a></p>
<p class="sep"><img src="wb_img/sepvertline.png"><img src="wb_img/sepvertline.png"><img src="wb_img/sepnode.png"></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link35folder.3.1" href="en/func/init.html#cdGetContext">GetContext</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link36folder.3.1" href="en/func/init.html#cdContextCaps">ContextCaps</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link37folder.3.1" href="en/func/init.html#cdSimulate">Simulate</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link36folder.3.1" href="en/func/init.html#cdGetContext">GetContext</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link37folder.3.1" href="en/func/init.html#cdContextCaps">ContextCaps</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link38folder.3.1" href="en/func/init.html#cdSimulate">Simulate</a></p>
<p class="sep"><img src="wb_img/sepvertline.png"><img src="wb_img/sepvertline.png"><img src="wb_img/sepnode.png"></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link38folder.3.1" href="en/func/init.html#cdlua_open">cdlua_open</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link39folder.3.1" href="en/func/init.html#cdlua_close">cdlua_close</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link40folder.3.1" href="en/func/init.html#cdlua_getcanvas">cdlua_getcanvas</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link39folder.3.1" href="en/func/init.html#cdlua_open">cdlua_open</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link40folder.3.1" href="en/func/init.html#cdlua_close">cdlua_close</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link41folder.3.1" href="en/func/init.html#cdlua_getcanvas">cdlua_getcanvas</a></p>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.3.2" src="wb_img/plusnode.png" onclick="toggleFolder('folder.3.2')"> Control</p>
<div id="folder.3.2">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link41folder.3.2" href="en/func/control.html#cdClear">Clear</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link42folder.3.2" href="en/func/control.html#cdFlush">Flush</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link43folder.3.2" href="en/func/control.html#cdSaveState">SaveState</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link44folder.3.2" href="en/func/control.html#cdRestoreState">RestoreState</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link45folder.3.2" href="en/func/control.html#cdReleaseState">ReleaseState</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link46folder.3.2" href="en/func/control.html#cdSetAttribute">SetAttribute</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link47folder.3.2" href="en/func/control.html#cdSetfAttribute">SetfAttribute</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link48folder.3.2" href="en/func/control.html#cdGetAttribute">GetAttribute</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link42folder.3.2" href="en/func/control.html#cdClear">Clear</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link43folder.3.2" href="en/func/control.html#cdFlush">Flush</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link44folder.3.2" href="en/func/control.html#cdSaveState">SaveState</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link45folder.3.2" href="en/func/control.html#cdRestoreState">RestoreState</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link46folder.3.2" href="en/func/control.html#cdReleaseState">ReleaseState</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link47folder.3.2" href="en/func/control.html#cdSetAttribute">SetAttribute</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link48folder.3.2" href="en/func/control.html#cdSetfAttribute">SetfAttribute</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link49folder.3.2" href="en/func/control.html#cdGetAttribute">GetAttribute</a></p>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.3.3" src="wb_img/plusnode.png" onclick="toggleFolder('folder.3.3')"> Coordinate System</p>
<div id="folder.3.3">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link49folder.3.3" href="en/func/coordinates.html#cdGetCanvasSize">GetSize</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link50folder.3.3" href="en/func/coordinates.html#cdYAxisMode">YAxisMode</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link51folder.3.3" href="en/func/coordinates.html#cdUpdateYAxis">UpdateYAxis</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link52folder.3.3" href="en/func/coordinates.html#cdMM2Pixel">MM2Pixel</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link53folder.3.3" href="en/func/coordinates.html#cdPixel2MM">Pixel2MM</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link54folder.3.3" href="en/func/coordinates.html#cdOrigin">Origin</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link50folder.3.3" href="en/func/coordinates.html#cdGetCanvasSize">GetSize</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link51folder.3.3" href="en/func/coordinates.html#cdYAxisMode">YAxisMode</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link52folder.3.3" href="en/func/coordinates.html#cdUpdateYAxis">UpdateYAxis</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link53folder.3.3" href="en/func/coordinates.html#cdMM2Pixel">MM2Pixel</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link54folder.3.3" href="en/func/coordinates.html#cdPixel2MM">Pixel2MM</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link55folder.3.3" href="en/func/coordinates.html#cdOrigin">Origin</a></p>
<p class="sep"><img src="wb_img/sepvertline.png"><img src="wb_img/sepvertline.png"><img src="wb_img/sepnode.png"></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link55folder.3.3" href="en/func/coordinates.html#cdTransform">Transform</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link56folder.3.3" href="en/func/coordinates.html#cdGetTransform">GetTransform</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link57folder.3.3" href="en/func/coordinates.html#cdTransformMultiply">TransformMultiply</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link58folder.3.3" href="en/func/coordinates.html#cdTransformTranslate">TransformTranslate</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link59folder.3.3" href="en/func/coordinates.html#cdTransformScale">TransformScale</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link60folder.3.3" href="en/func/coordinates.html#cdTransformRotate">TransformRotate</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link56folder.3.3" href="en/func/coordinates.html#cdTransform">Transform</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link57folder.3.3" href="en/func/coordinates.html#cdGetTransform">GetTransform</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link58folder.3.3" href="en/func/coordinates.html#cdTransformMultiply">TransformMultiply</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link59folder.3.3" href="en/func/coordinates.html#cdTransformTranslate">TransformTranslate</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link60folder.3.3" href="en/func/coordinates.html#cdTransformScale">TransformScale</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link61folder.3.3" href="en/func/coordinates.html#cdTransformRotate">TransformRotate</a></p>
</div>
- <p><img src="wb_img/vertline.png"><img name="imgfolder.3.4" src="wb_img/plusnode.png" onclick="toggleFolder('folder.3.4')"><a name="link61folder.3.4" class="el" href="en/func/wd.html">World Coordinates</a></p>
+ <p><img src="wb_img/vertline.png"><img name="imgfolder.3.4" src="wb_img/plusnode.png" onclick="toggleFolder('folder.3.4')"><a name="link62folder.3.4" class="el" href="en/func/wd.html">World Coordinates</a></p>
<div id="folder.3.4">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link62folder.3.4" href="en/func/wd.html#wdWindow">Window</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link63folder.3.4" href="en/func/wd.html#wdGetWindow">GetWindow</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link64folder.3.4" href="en/func/wd.html#wdViewport">Viewport</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link65folder.3.4" href="en/func/wd.html#wdGetViewport">GetViewport</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link66folder.3.4" href="en/func/wd.html#wdWorld2Canvas">World2Canvas</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link67folder.3.4" href="en/func/wd.html#wdCanvas2World">Canvas2World</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link68folder.3.4" href="en/func/wd.html#wdSetTransform">SetTransform</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link69folder.3.4" href="en/func/wd.html#wdGetTransform">GetTransform</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link70folder.3.4" href="en/func/wd.html#wdTranslate">Translate</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link71folder.3.4" href="en/func/wd.html#wdScale">Scale</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link63folder.3.4" href="en/func/wd.html#wdWindow">Window</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link64folder.3.4" href="en/func/wd.html#wdGetWindow">GetWindow</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link65folder.3.4" href="en/func/wd.html#wdViewport">Viewport</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link66folder.3.4" href="en/func/wd.html#wdGetViewport">GetViewport</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link67folder.3.4" href="en/func/wd.html#wdWorld2Canvas">World2Canvas</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link68folder.3.4" href="en/func/wd.html#wdCanvas2World">Canvas2World</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link69folder.3.4" href="en/func/wd.html#wdSetTransform">SetTransform</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link70folder.3.4" href="en/func/wd.html#wdGetTransform">GetTransform</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link71folder.3.4" href="en/func/wd.html#wdTranslate">Translate</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link72folder.3.4" href="en/func/wd.html#wdScale">Scale</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.3.4.1" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.3.4.1')"> Extra</p>
<div id="folder.3.4.1">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link72folder.3.4.1" href="en/func/wd.html#wdHardcopy">Hardcopy</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link73folder.3.4.1" href="en/func/wd.html#wdHardcopy">Hardcopy</a></p>
</div>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.3.5" src="wb_img/plusnode.png" onclick="toggleFolder('folder.3.5')"> General Attributes</p>
<div id="folder.3.5">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link73folder.3.5" href="en/func/attributes.html#cdForeground">Foreground</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link74folder.3.5" href="en/func/attributes.html#cdBackground">Background</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link75folder.3.5" href="en/func/attributes.html#cdWriteMode">WriteMode</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link74folder.3.5" href="en/func/attributes.html#cdForeground">Foreground</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link75folder.3.5" href="en/func/attributes.html#cdBackground">Background</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link76folder.3.5" href="en/func/attributes.html#cdWriteMode">WriteMode</a></p>
</div>
- <p><img src="wb_img/vertline.png"><img name="imgfolder.3.6" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.3.6')"><a name="link76folder.3.6" class="el" href="en/func/clipping.html">Clipping</a></p>
+ <p><img src="wb_img/vertline.png"><img name="imgfolder.3.6" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.3.6')"><a name="link77folder.3.6" class="el" href="en/func/clipping.html">Clipping</a></p>
<div id="folder.3.6">
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link77folder.3.6" href="en/func/clipping.html#cdClip">Clip</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link78folder.3.6" href="en/func/clipping.html#cdClipArea">ClipArea</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link79folder.3.6" href="en/func/clipping.html#cdGetClipArea">GetClipArea</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link80folder.3.6" href="en/func/clipping.html#Polygons">Polygons</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img name="imgfolder.3.6.1" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.3.6.1')"><a name="link81folder.3.6.1" class="el" href="en/func/region.html">Regions</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link78folder.3.6" href="en/func/clipping.html#cdClip">Clip</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link79folder.3.6" href="en/func/clipping.html#cdClipArea">ClipArea</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link80folder.3.6" href="en/func/clipping.html#cdGetClipArea">GetClipArea</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link81folder.3.6" href="en/func/clipping.html#Polygons">Polygons</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img name="imgfolder.3.6.1" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.3.6.1')"><a name="link82folder.3.6.1" class="el" href="en/func/region.html">Regions</a></p>
<div id="folder.3.6.1">
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link82folder.3.6.1" href="en/func/region.html#Creating">Creating</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link83folder.3.6.1" href="en/func/region.html#cdRegionCombineMode">RegionCombineMode</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link83folder.3.6.1" href="en/func/region.html#Creating">Creating</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link84folder.3.6.1" href="en/func/region.html#cdRegionCombineMode">RegionCombineMode</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link85folder.3.6.1" href="en/func/region.html#cdPointInRegion">PointInRegion</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link86folder.3.6.1" href="en/func/region.html#cdOffsetRegion">OffsetRegion</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link87folder.3.6.1" href="en/func/region.html#cdRegionBox">RegionBox</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link85folder.3.6.1" href="en/func/region.html#cdRegionCombineMode">RegionCombineMode</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link86folder.3.6.1" href="en/func/region.html#cdPointInRegion">PointInRegion</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link87folder.3.6.1" href="en/func/region.html#cdOffsetRegion">OffsetRegion</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link88folder.3.6.1" href="en/func/region.html#cdRegionBox">RegionBox</a></p>
</div>
</div>
</div>
<p><img name="imgfolder.4" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4')"> Primitives</p>
<div id="folder.4">
- <p><img src="wb_img/vertline.png"><img name="imgfolder.4.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.1')"><a name="link88folder.4.1" class="el" href="en/func/marks.html">Marks</a></p>
+ <p><img src="wb_img/vertline.png"><img name="imgfolder.4.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.1')"><a name="link89folder.4.1" class="el" href="en/func/marks.html">Marks</a></p>
<div id="folder.4.1">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link89folder.4.1" href="en/func/marks.html#cdPixel">Pixel</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link90folder.4.1" href="en/func/marks.html#cdMark">Mark</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link90folder.4.1" href="en/func/marks.html#cdPixel">Pixel</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link91folder.4.1" href="en/func/marks.html#cdMark">Mark</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.4.1.1" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.4.1.1')"> Attributes</p>
<div id="folder.4.1.1">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link91folder.4.1.1" href="en/func/marks.html#cdMarkType">MarkType</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link92folder.4.1.1" href="en/func/marks.html#cdMarkSize">MarkSize</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link92folder.4.1.1" href="en/func/marks.html#cdMarkType">MarkType</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link93folder.4.1.1" href="en/func/marks.html#cdMarkSize">MarkSize</a></p>
</div>
</div>
- <p><img src="wb_img/vertline.png"><img name="imgfolder.4.2" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.2')"><a name="link93folder.4.2" class="el" href="en/func/lines.html">Lines</a></p>
+ <p><img src="wb_img/vertline.png"><img name="imgfolder.4.2" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.2')"><a name="link94folder.4.2" class="el" href="en/func/lines.html">Lines</a></p>
<div id="folder.4.2">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link94folder.4.2" href="en/func/lines.html#cdLine">Line</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.4.2.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.2.1')"><a name="link95folder.4.2.1" class="el" href="en/func/lines.html#Polygons">Line Polygons/Bezier Curves</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link95folder.4.2" href="en/func/lines.html#cdLine">Line</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.4.2.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.2.1')"><a name="link96folder.4.2.1" class="el" href="en/func/lines.html#Polygons">Line Polygons/Bezier Curves</a></p>
<div id="folder.4.2.1">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link96folder.4.2.1" href="en/func/polygon.html">Polygons and Regions</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link97folder.4.2.1" href="en/func/polygon.html">Polygons and Regions</a></p>
</div>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link97folder.4.2" href="en/func/lines.html#cdRect">Rect</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link98folder.4.2" href="en/func/lines.html#cdArc">Arc</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link98folder.4.2" href="en/func/lines.html#cdRect">Rect</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link99folder.4.2" href="en/func/lines.html#cdArc">Arc</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.4.2.2" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.4.2.2')"> Attributes</p>
<div id="folder.4.2.2">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link99folder.4.2.2" href="en/func/lines.html#cdLineStyle">LineStyle</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link100folder.4.2.2" href="en/func/lines.html#cdLineStyleDashes">LineStyleDashes</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link101folder.4.2.2" href="en/func/lines.html#cdLineWidth">LineWidth</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link102folder.4.2.2" href="en/func/lines.html#cdLineJoin">LineJoin</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link103folder.4.2.2" href="en/func/lines.html#cdLineCap">LineCap</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link100folder.4.2.2" href="en/func/lines.html#cdLineStyle">LineStyle</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link101folder.4.2.2" href="en/func/lines.html#cdLineStyleDashes">LineStyleDashes</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link102folder.4.2.2" href="en/func/lines.html#cdLineWidth">LineWidth</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link103folder.4.2.2" href="en/func/lines.html#cdLineJoin">LineJoin</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link104folder.4.2.2" href="en/func/lines.html#cdLineCap">LineCap</a></p>
</div>
</div>
- <p><img src="wb_img/vertline.png"><img name="imgfolder.4.3" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.3')"><a name="link104folder.4.3" class="el" href="en/func/filled.html">Filled Areas</a></p>
+ <p><img src="wb_img/vertline.png"><img name="imgfolder.4.3" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.3')"><a name="link105folder.4.3" class="el" href="en/func/filled.html">Filled Areas</a></p>
<div id="folder.4.3">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link105folder.4.3" href="en/func/filled.html#Polygons">Polygons</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link106folder.4.3" href="en/func/filled.html#cdBox">Box</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link107folder.4.3" href="en/func/filled.html#cdSector">Sector</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link108folder.4.3" href="en/func/filled.html#cdChord">Chord</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link106folder.4.3" href="en/func/filled.html#Polygons">Polygons</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link107folder.4.3" href="en/func/filled.html#cdBox">Box</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link108folder.4.3" href="en/func/filled.html#cdSector">Sector</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link109folder.4.3" href="en/func/filled.html#cdChord">Chord</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.4.3.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.3.1')"> Attributes</p>
<div id="folder.4.3.1">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link109folder.4.3.1" href="en/func/filled.html#cdBackOpacity">BackOpacity</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link110folder.4.3.1" href="en/func/filled.html#cdFillMode">FillMode</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link111folder.4.3.1" href="en/func/filled.html#cdInteriorStyle">InteriorStyle</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link112folder.4.3.1" href="en/func/filled.html#cdHatch">Hatch</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link113folder.4.3.1" href="en/func/filled.html#cdStipple">Stipple</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link114folder.4.3.1" href="en/func/filled.html#wdStipple">Stipple (WC)</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link115folder.4.3.1" href="en/func/filled.html#cdGetStipple">GetStipple</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link116folder.4.3.1" href="en/func/filled.html#cdPattern">Pattern</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link117folder.4.3.1" href="en/func/filled.html#wdPattern">Pattern (WC)</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link118folder.4.3.1" href="en/func/filled.html#cdGetPattern">GetPattern</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link119folder.4.3.1" href="en/func/filled.html#DataAccess">Data Access</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link110folder.4.3.1" href="en/func/filled.html#cdBackOpacity">BackOpacity</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link111folder.4.3.1" href="en/func/filled.html#cdFillMode">FillMode</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link112folder.4.3.1" href="en/func/filled.html#cdInteriorStyle">InteriorStyle</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link113folder.4.3.1" href="en/func/filled.html#cdHatch">Hatch</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link114folder.4.3.1" href="en/func/filled.html#cdStipple">Stipple</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link115folder.4.3.1" href="en/func/filled.html#wdStipple">Stipple (WC)</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link116folder.4.3.1" href="en/func/filled.html#cdGetStipple">GetStipple</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link117folder.4.3.1" href="en/func/filled.html#cdPattern">Pattern</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link118folder.4.3.1" href="en/func/filled.html#wdPattern">Pattern (WC)</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link119folder.4.3.1" href="en/func/filled.html#cdGetPattern">GetPattern</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link120folder.4.3.1" href="en/func/filled.html#DataAccess">Data Access</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.4.3.2" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.4.3.2')"> Extras in Lua</p>
<div id="folder.4.3.2">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link120folder.4.3.2" href="en/func/filled.html#cdCreatePattern">CreatePattern</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link121folder.4.3.2" href="en/func/filled.html#cdKillPattern">KillPattern</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link122folder.4.3.2" href="en/func/filled.html#cdCreateStipple">CreateStipple</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link123folder.4.3.2" href="en/func/filled.html#cdKillStipple">KillStipple</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link121folder.4.3.2" href="en/func/filled.html#cdCreatePattern">CreatePattern</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link122folder.4.3.2" href="en/func/filled.html#cdKillPattern">KillPattern</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link123folder.4.3.2" href="en/func/filled.html#cdCreateStipple">CreateStipple</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link124folder.4.3.2" href="en/func/filled.html#cdKillStipple">KillStipple</a></p>
</div>
</div>
- <p><img src="wb_img/vertline.png"><img name="imgfolder.4.4" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.4')"><a name="link124folder.4.4" class="el" href="en/func/text.html">Text</a></p>
+ <p><img src="wb_img/vertline.png"><img name="imgfolder.4.4" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.4')"><a name="link125folder.4.4" class="el" href="en/func/text.html">Text</a></p>
<div id="folder.4.4">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link125folder.4.4" href="en/func/text.html#cdText">Text</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link126folder.4.4" href="en/func/text.html#cdText">Text</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.4.4.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.4.1')"> Attributes</p>
<div id="folder.4.4.1">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link126folder.4.4.1" href="en/func/text.html#cdFont">Font</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link127folder.4.4.1" href="en/func/text.html#cdGetFont">GetFont</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link128folder.4.4.1" href="en/func/text.html#cdNativeFont">NativeFont</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link129folder.4.4.1" href="en/func/text.html#cdTextAlignment">TextAlignment</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link130folder.4.4.1" href="en/func/text.html#cdTextOrientation">TextOrientation</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link127folder.4.4.1" href="en/func/text.html#cdFont">Font</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link128folder.4.4.1" href="en/func/text.html#cdGetFont">GetFont</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link129folder.4.4.1" href="en/func/text.html#cdNativeFont">NativeFont</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link130folder.4.4.1" href="en/func/text.html#cdTextAlignment">TextAlignment</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link131folder.4.4.1" href="en/func/text.html#cdTextOrientation">TextOrientation</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.4.4.2" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.4.4.2')"> Properties</p>
<div id="folder.4.4.2">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link131folder.4.4.2" href="en/func/text.html#cdFontDim">GetFontDim</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link132folder.4.4.2" href="en/func/text.html#cdTextSize">GetTextSize</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link133folder.4.4.2" href="en/func/text.html#cdTextBounds">GetTextBounds</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link134folder.4.4.2" href="en/func/text.html#cdTextBox">GetTextBox</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link132folder.4.4.2" href="en/func/text.html#cdFontDim">GetFontDim</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link133folder.4.4.2" href="en/func/text.html#cdTextSize">GetTextSize</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link134folder.4.4.2" href="en/func/text.html#cdTextBounds">GetTextBounds</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link135folder.4.4.2" href="en/func/text.html#cdTextBox">GetTextBox</a></p>
</div>
</div>
- <p><img src="wb_img/vertline.png"><img name="imgfolder.4.5" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.5')"><a name="link135folder.4.5" class="el" href="en/func/vectortext.html">Vector Text</a></p>
+ <p><img src="wb_img/vertline.png"><img name="imgfolder.4.5" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.5')"><a name="link136folder.4.5" class="el" href="en/func/vectortext.html">Vector Text</a></p>
<div id="folder.4.5">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link136folder.4.5" href="en/func/vectortext.html#cdVectorText">VectorText</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link137folder.4.5" href="en/func/vectortext.html#cdVectorText">VectorText</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.4.5.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.5.1')"> Attributes</p>
<div id="folder.4.5.1">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link137folder.4.5.1" href="en/func/vectortext.html#cdVectorTextDirection">VectorTextDirection</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link138folder.4.5.1" href="en/func/vectortext.html#cdVectorTextTransform">VectorTextTransform</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link139folder.4.5.1" href="en/func/vectortext.html#cdVectorTextSize">VectorTextSize</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link140folder.4.5.1" href="en/func/vectortext.html#cdVectorCharSize">VectorCharSize</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link141folder.4.5.1" href="en/func/vectortext.html#cdVectorFont">VectorFont</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link138folder.4.5.1" href="en/func/vectortext.html#cdVectorTextDirection">VectorTextDirection</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link139folder.4.5.1" href="en/func/vectortext.html#cdVectorTextTransform">VectorTextTransform</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link140folder.4.5.1" href="en/func/vectortext.html#cdVectorTextSize">VectorTextSize</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link141folder.4.5.1" href="en/func/vectortext.html#cdVectorCharSize">VectorCharSize</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link142folder.4.5.1" href="en/func/vectortext.html#cdVectorFont">VectorFont</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.4.5.2" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.4.5.2')"> Properties</p>
<div id="folder.4.5.2">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link142folder.4.5.2" href="en/func/vectortext.html#cdGetVectorTextSize">GetVectorTextSize</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link143folder.4.5.2" href="en/func/vectortext.html#cdGetVectorTextBounds">GetVectorTextBounds</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link144folder.4.5.2" href="en/func/vectortext.html#cdGetVectorTextBox">GetVectorTextBox</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link143folder.4.5.2" href="en/func/vectortext.html#cdGetVectorTextSize">GetVectorTextSize</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link144folder.4.5.2" href="en/func/vectortext.html#cdGetVectorTextBounds">GetVectorTextBounds</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link145folder.4.5.2" href="en/func/vectortext.html#cdGetVectorTextBox">GetVectorTextBox</a></p>
</div>
</div>
- <p><img src="wb_img/vertline.png"><img name="imgfolder.4.6" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.6')"><a name="link145folder.4.6" class="el" href="en/func/client.html">Client Images</a></p>
+ <p><img src="wb_img/vertline.png"><img name="imgfolder.4.6" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.6')"><a name="link146folder.4.6" class="el" href="en/func/client.html">Client Images</a></p>
<div id="folder.4.6">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link146folder.4.6" href="en/func/client.html#cdGetImageRGB">GetImageRGB</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link147folder.4.6" href="en/func/client.html#cdPutImageRectRGB">PutImageRectRGB</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link148folder.4.6" href="en/func/client.html#cdPutImageRectRGBA">PutImageRectRGBA</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link149folder.4.6" href="en/func/client.html#cdPutImageRectMap">PutImageRectMap</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link150folder.4.6" href="en/func/client.html#cdRGB2Map">RGB2Map</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link147folder.4.6" href="en/func/client.html#cdGetImageRGB">GetImageRGB</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link148folder.4.6" href="en/func/client.html#cdPutImageRectRGB">PutImageRectRGB</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link149folder.4.6" href="en/func/client.html#cdPutImageRectRGBA">PutImageRectRGBA</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link150folder.4.6" href="en/func/client.html#cdPutImageRectMap">PutImageRectMap</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link151folder.4.6" href="en/func/client.html#cdRGB2Map">RGB2Map</a></p>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.4.6.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4.6.1')"> Extras</p>
<div id="folder.4.6.1">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link151folder.4.6.1" href="en/func/client.html#cdCreateBitmap">CreateBitmap</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link152folder.4.6.1" href="en/func/client.html#cdInitBitmap">InitBitmap</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link153folder.4.6.1" href="en/func/client.html#cdKillBitmap">KillBitmap</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link154folder.4.6.1" href="en/func/client.html#cdBitmapGetData">BitmapGetData</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link155folder.4.6.1" href="en/func/client.html#cdBitmapSetRect">BitmapSetRect</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link156folder.4.6.1" href="en/func/client.html#cdGetBitmap">GetBitmap</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link157folder.4.6.1" href="en/func/client.html#cdPutBitmap">PutBitmap</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link158folder.4.6.1" href="en/func/client.html#cdBitmapRGB2Map">BitmapRGB2Map</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link152folder.4.6.1" href="en/func/client.html#cdCreateBitmap">CreateBitmap</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link153folder.4.6.1" href="en/func/client.html#cdInitBitmap">InitBitmap</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link154folder.4.6.1" href="en/func/client.html#cdKillBitmap">KillBitmap</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link155folder.4.6.1" href="en/func/client.html#cdBitmapGetData">BitmapGetData</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link156folder.4.6.1" href="en/func/client.html#cdBitmapSetRect">BitmapSetRect</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link157folder.4.6.1" href="en/func/client.html#cdGetBitmap">GetBitmap</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link158folder.4.6.1" href="en/func/client.html#cdPutBitmap">PutBitmap</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link159folder.4.6.1" href="en/func/client.html#cdBitmapRGB2Map">BitmapRGB2Map</a></p>
</div>
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.4.6.2" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.4.6.2')"> Extras in Lua</p>
<div id="folder.4.6.2">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link159folder.4.6.2" href="en/func/client.html#cdCreateImageRGB">CreateImageRGB</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link160folder.4.6.2" href="en/func/client.html#cdKillImageRGB">KillImageRGB</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link161folder.4.6.2" href="en/func/client.html#cdCreateImageRGBA">CreateImageRGBA</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link162folder.4.6.2" href="en/func/client.html#cdKillImageRGBA">KillImageRGBA</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link163folder.4.6.2" href="en/func/client.html#cdCreateImageMap">CreateImageMap</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link164folder.4.6.2" href="en/func/client.html#cdKillImageMap">KillImageMap</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link165folder.4.6.2" href="en/func/client.html#DataAccess">Data Access</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link160folder.4.6.2" href="en/func/client.html#cdCreateImageRGB">CreateImageRGB</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link161folder.4.6.2" href="en/func/client.html#cdKillImageRGB">KillImageRGB</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link162folder.4.6.2" href="en/func/client.html#cdCreateImageRGBA">CreateImageRGBA</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link163folder.4.6.2" href="en/func/client.html#cdKillImageRGBA">KillImageRGBA</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link164folder.4.6.2" href="en/func/client.html#cdCreateImageMap">CreateImageMap</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link165folder.4.6.2" href="en/func/client.html#cdKillImageMap">KillImageMap</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link166folder.4.6.2" href="en/func/client.html#DataAccess">Data Access</a></p>
</div>
</div>
- <p><img src="wb_img/vertline.png"><img name="imgfolder.4.7" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.4.7')"><a name="link166folder.4.7" class="el" href="en/func/server.html">Server Images</a></p>
+ <p><img src="wb_img/vertline.png"><img name="imgfolder.4.7" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.4.7')"><a name="link167folder.4.7" class="el" href="en/func/server.html">Server Images</a></p>
<div id="folder.4.7">
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link167folder.4.7" href="en/func/server.html#cdCreateImage">CreateImage</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link168folder.4.7" href="en/func/server.html#cdKillImage">KillImage</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link169folder.4.7" href="en/func/server.html#cdGetImage">GetImage</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link170folder.4.7" href="en/func/server.html#cdPutImageRect">PutImageRect</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link171folder.4.7" href="en/func/server.html#cdScrollArea">ScrollArea</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link168folder.4.7" href="en/func/server.html#cdCreateImage">CreateImage</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link169folder.4.7" href="en/func/server.html#cdKillImage">KillImage</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link170folder.4.7" href="en/func/server.html#cdGetImage">GetImage</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link171folder.4.7" href="en/func/server.html#cdPutImageRect">PutImageRect</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link172folder.4.7" href="en/func/server.html#cdScrollArea">ScrollArea</a></p>
</div>
</div>
<p><img name="imgfolder.5" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5')"> Other</p>
<div id="folder.5">
<p><img src="wb_img/vertline.png"><img name="imgfolder.5.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1')"> System</p>
<div id="folder.5.1">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link172folder.5.1" href="en/func/other.html#cdVersion">Version</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link173folder.5.1" href="en/func/other.html#cdVersion">Version</a></p>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.5.2" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.2')"> Metafile Interpretation</p>
<div id="folder.5.2">
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link173folder.5.2" href="en/func/other.html#cdPlay">Play</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link174folder.5.2" href="en/func/other.html#cdRegisterCallback">RegisterCallback</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link174folder.5.2" href="en/func/other.html#cdPlay">Play</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link175folder.5.2" href="en/func/other.html#cdRegisterCallback">RegisterCallback</a></p>
</div>
<p><img src="wb_img/vertline.png"><img name="imgfolder.5.3" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.5.3')"> Color Coding</p>
<div id="folder.5.3">
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link175folder.5.3" href="en/func/color.html#cdEncodeColor">EncodeColor</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link176folder.5.3" href="en/func/color.html#cdDecodeColor">DecodeColor</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link177folder.5.3" href="en/func/color.html#cdEncodeAlpha">EncodeAlpha</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link178folder.5.3" href="en/func/color.html#cdDecodeAlpha">DecodeAlpha</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link179folder.5.3" href="en/func/color.html#cdRed">Red</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link180folder.5.3" href="en/func/color.html#cdGreen">Green</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link181folder.5.3" href="en/func/color.html#cdBlue">Blue</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link176folder.5.3" href="en/func/color.html#cdEncodeColor">EncodeColor</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link177folder.5.3" href="en/func/color.html#cdDecodeColor">DecodeColor</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link178folder.5.3" href="en/func/color.html#cdEncodeAlpha">EncodeAlpha</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link179folder.5.3" href="en/func/color.html#cdDecodeAlpha">DecodeAlpha</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link180folder.5.3" href="en/func/color.html#cdRed">Red</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link181folder.5.3" href="en/func/color.html#cdGreen">Green</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link182folder.5.3" href="en/func/color.html#cdBlue">Blue</a></p>
<p class="sep"><img src="wb_img/sepvertline.png"><img src="wb_img/sepblank.png"><img src="wb_img/sepnode.png"></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link182folder.5.3" href="en/func/color.html#cdGetColorPlanes">GetColorPlanes</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link183folder.5.3" href="en/func/color.html#cdPalette">Palette</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link184folder.5.3" href="en/func/color.html#cdCreatePalette">CreatePalette</a></p>
- <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link185folder.5.3" href="en/func/color.html#cdKillPalette">KillPalette</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link183folder.5.3" href="en/func/color.html#cdGetColorPlanes">GetColorPlanes</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link184folder.5.3" href="en/func/color.html#cdPalette">Palette</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link185folder.5.3" href="en/func/color.html#cdCreatePalette">CreatePalette</a></p>
+ <p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link186folder.5.3" href="en/func/color.html#cdKillPalette">KillPalette</a></p>
</div>
</div>
- <p><img name="imgfolder.6" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.6')"><a name="link186folder.6" class="el" href="en/drv.html">Drivers</a></p>
+ <p><img name="imgfolder.6" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.6')"><a name="link187folder.6" class="el" href="en/drv.html">Drivers</a></p>
<div id="folder.6">
<p><img src="wb_img/blank.png"><img name="imgfolder.6.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.1')"> Window Systems</p>
<div id="folder.6.1">
- <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link187folder.6.1" href="en/drv/iup.html">IUP</a></p>
- <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link188folder.6.1" href="en/drv/native.html">Native Window</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link188folder.6.1" href="en/drv/iup.html">IUP</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link189folder.6.1" href="en/drv/native.html">Native Window</a></p>
</div>
<p><img src="wb_img/blank.png"><img name="imgfolder.6.2" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.2')"> Devices</p>
<div id="folder.6.2">
- <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link189folder.6.2" href="en/drv/clipbd.html">Clipboard</a></p>
- <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link190folder.6.2" href="en/drv/printer.html">Printer</a></p>
- <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link191folder.6.2" href="en/drv/picture.html">Picture</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link190folder.6.2" href="en/drv/clipbd.html">Clipboard</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link191folder.6.2" href="en/drv/printer.html">Printer</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link192folder.6.2" href="en/drv/picture.html">Picture</a></p>
</div>
<p><img src="wb_img/blank.png"><img name="imgfolder.6.3" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.3')"> Images</p>
<div id="folder.6.3">
- <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link192folder.6.3" href="en/drv/irgb.html">Client Image</a></p>
- <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link193folder.6.3" href="en/drv/image.html">Server Image</a></p>
- <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link194folder.6.3" href="en/drv/dbufrgb.html">Client Double Buffer</a></p>
- <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link195folder.6.3" href="en/drv/dbuf.html">Server Double Buffer</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link193folder.6.3" href="en/drv/irgb.html">Client Image</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link194folder.6.3" href="en/drv/image.html">Server Image</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link195folder.6.3" href="en/drv/dbufrgb.html">Client Double Buffer</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link196folder.6.3" href="en/drv/dbuf.html">Server Double Buffer</a></p>
</div>
<p><img src="wb_img/blank.png"><img name="imgfolder.6.4" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.4')"> File</p>
<div id="folder.6.4">
- <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link196folder.6.4" href="en/drv/pdf.html">PDF</a></p>
- <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link197folder.6.4" href="en/drv/ps.html">PS</a></p>
- <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link198folder.6.4" href="en/drv/svg.html">SVG</a></p>
- <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link199folder.6.4" href="en/drv/mf.html">MF</a></p>
- <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link200folder.6.4" href="en/drv/debug.html">DEBUG</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link197folder.6.4" href="en/drv/pdf.html">PDF</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link198folder.6.4" href="en/drv/ps.html">PS</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link199folder.6.4" href="en/drv/svg.html">SVG</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link200folder.6.4" href="en/drv/mf.html">MF</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link201folder.6.4" href="en/drv/debug.html">DEBUG</a></p>
<p class="sep"><img src="wb_img/sepblank.png"><img src="wb_img/sepvertline.png"><img src="wb_img/sepnode.png"></p>
- <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link201folder.6.4" href="en/drv/cgm.html">CGM</a></p>
- <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link202folder.6.4" href="en/drv/dgn.html">DGN</a></p>
- <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link203folder.6.4" href="en/drv/dxf.html">DXF</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link202folder.6.4" href="en/drv/cgm.html">CGM</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link203folder.6.4" href="en/drv/dgn.html">DGN</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link204folder.6.4" href="en/drv/dxf.html">DXF</a></p>
<p class="sep"><img src="wb_img/sepblank.png"><img src="wb_img/sepvertline.png"><img src="wb_img/sepnode.png"></p>
- <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link204folder.6.4" href="en/drv/emf.html">EMF</a></p>
- <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link205folder.6.4" href="en/drv/wmf.html">WMF</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link205folder.6.4" href="en/drv/emf.html">EMF</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link206folder.6.4" href="en/drv/wmf.html">WMF</a></p>
</div>
<p><img src="wb_img/blank.png"><img name="imgfolder.6.5" src="wb_img/plusnode.png" onclick="toggleFolder('folder.6.5')"> Base Drivers</p>
<div id="folder.6.5">
- <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link206folder.6.5" href="en/drv/gdk.html">GDK</a></p>
- <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link207folder.6.5" href="en/drv/win32.html">Win32</a></p>
- <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link208folder.6.5" href="en/drv/xwin.html">X-Win</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link207folder.6.5" href="en/drv/gdk.html">GDK</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link208folder.6.5" href="en/drv/win32.html">Win32</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link209folder.6.5" href="en/drv/xwin.html">X-Win</a></p>
<p class="sep"><img src="wb_img/sepblank.png"><img src="wb_img/sepvertline.png"><img src="wb_img/sepnode.png"></p>
- <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link209folder.6.5" href="en/drv/sim.html">Simulation</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link210folder.6.5" href="en/drv/sim.html">Simulation</a></p>
</div>
<p><img src="wb_img/blank.png"><img name="imgfolder.6.6" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.6.6')"> Context Plus</p>
<div id="folder.6.6">
- <p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link210folder.6.6" href="en/drv/cairo.html">Cairo</a></p>
- <p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link211folder.6.6" href="en/drv/gdiplus.html">GDI+</a></p>
- <p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link212folder.6.6" href="en/drv/xrender.html">XRender</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link211folder.6.6" href="en/drv/cairo.html">Cairo</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link212folder.6.6" href="en/drv/gdiplus.html">GDI+</a></p>
+ <p><img src="wb_img/blank.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link213folder.6.6" href="en/drv/xrender.html">XRender</a></p>
</div>
</div>
</div>
diff --git a/src/drv/cdpdf.c b/src/drv/cdpdf.c
index 58cf474..3211cba 100644
--- a/src/drv/cdpdf.c
+++ b/src/drv/cdpdf.c
@@ -876,7 +876,7 @@ static void cdfpoly(cdCtxCanvas *ctxcanvas, int mode, cdfPoint* poly, int n)
static int cdlinestyle(cdCtxCanvas *ctxcanvas, int style)
{
- double mm = (72.0/25.4) / ctxcanvas->scale;
+ double mm = ctxcanvas->canvas->xres;
char options[200];
switch (style)
@@ -901,12 +901,12 @@ static int cdlinestyle(cdCtxCanvas *ctxcanvas, int style)
case CD_CUSTOM :
{
int i;
-
+ /* size here is in pixels, do not use mm */
strcpy(options, "dasharray={");
for (i = 0; i < ctxcanvas->canvas->line_dashes_count; i++)
{
char tmp[80];
- sprintf(tmp, "%g ", ctxcanvas->canvas->line_dashes[i]*mm);
+ sprintf(tmp, "%g ", (double)ctxcanvas->canvas->line_dashes[i]);
strcat(options, tmp);
}
strcat(options, "}");
diff --git a/src/drv/cdps.c b/src/drv/cdps.c
index 37bdef6..08d6ba7 100644
--- a/src/drv/cdps.c
+++ b/src/drv/cdps.c
@@ -1454,7 +1454,7 @@ static void cdfpoly(cdCtxCanvas *ctxcanvas, int mode, cdfPoint* poly, int n)
static int cdlinestyle(cdCtxCanvas *ctxcanvas, int style)
{
- double mm = (72.0/25.4) / ctxcanvas->scale;
+ double mm = ctxcanvas->canvas->xres;
if (ctxcanvas->debug) fprintf(ctxcanvas->file, "\n%%cdLineStyle %d Begin\n", style);
@@ -1479,9 +1479,9 @@ static int cdlinestyle(cdCtxCanvas *ctxcanvas, int style)
break;
case CD_CUSTOM :
{
- int i;
+ int i; /* size here is in pixels, do not use mm */
for (i = 0; i < ctxcanvas->canvas->line_dashes_count; i++)
- fprintf(ctxcanvas->file, "%g ", ctxcanvas->canvas->line_dashes[i]*mm);
+ fprintf(ctxcanvas->file, "%g ", (double)ctxcanvas->canvas->line_dashes[i]);
}
break;
}
diff --git a/test/simple/simple.c b/test/simple/simple.c
index 45cb8d3..6f7a4cb 100644
--- a/test/simple/simple.c
+++ b/test/simple/simple.c
@@ -46,7 +46,7 @@ cdCanvas *curCanvas = NULL; /* The current canvas */
int clipping = CD_CLIPOFF; /* Clipping flag, same as the CD */
int write_mode = CD_REPLACE; /* Write Mode flag, same as the CD */
-int gdpiplus = 0;
+int contextplus = 0;
int simple_draw = 0;
int use_transform = 0;
int simulate = 0;
@@ -79,9 +79,9 @@ void SimpleInitAlpha(int width, int height, unsigned char* _alpha)
void SimpleCreateCanvasWindow(void)
{
/* creates the canvas based in an existing window */
- if (gdpiplus) cdUseContextPlus(1);
+ if (contextplus) cdUseContextPlus(1);
winCanvas = cdCreateCanvas(CD_IUP, winData);
- if (gdpiplus) cdUseContextPlus(0);
+ if (contextplus) cdUseContextPlus(0);
curCanvas = winCanvas;
}
@@ -151,7 +151,7 @@ int SimpleTransform(void)
int SimpleContextPlus(void)
{
#ifdef USE_CONTEXTPLUS
- gdpiplus = !gdpiplus;
+ contextplus = !contextplus;
SimpleKillCanvas();
SimpleCreateCanvasWindow();
SimpleDrawRepaint();
@@ -295,9 +295,9 @@ int SimpleDrawDGN(void)
int SimpleDrawEMF(void)
{
- if (gdpiplus) cdUseContextPlus(1);
+ if (contextplus) cdUseContextPlus(1);
DrawCanvasDriverSize(CD_EMF, "simple.emf", 1);
- if (gdpiplus) cdUseContextPlus(0);
+ if (contextplus) cdUseContextPlus(0);
return 0;
}
@@ -339,41 +339,41 @@ int SimpleDrawWMF(void)
int SimpleDrawPrint(void)
{
- if (gdpiplus) cdUseContextPlus(1);
+ if (contextplus) cdUseContextPlus(1);
DrawCanvasDriver(CD_PRINTER, "simple print");
- if (gdpiplus) cdUseContextPlus(0);
+ if (contextplus) cdUseContextPlus(0);
return 0;
}
int SimpleDrawPrintDialog(void)
{
- if (gdpiplus) cdUseContextPlus(1);
+ if (contextplus) cdUseContextPlus(1);
DrawCanvasDriver(CD_PRINTER, "simple -d"); /* show dialog */
- if (gdpiplus) cdUseContextPlus(0);
+ if (contextplus) cdUseContextPlus(0);
return 0;
}
int SimpleDrawClipboardBitmap(void)
{
- if (gdpiplus) cdUseContextPlus(1);
+ if (contextplus) cdUseContextPlus(1);
DrawCanvasDriverSizeParam(CD_CLIPBOARD, "-b");
- if (gdpiplus) cdUseContextPlus(0);
+ if (contextplus) cdUseContextPlus(0);
return 0;
}
int SimpleDrawClipboardMetafile(void)
{
- if (gdpiplus) cdUseContextPlus(1);
+ if (contextplus) cdUseContextPlus(1);
DrawCanvasDriverSizeParam(CD_CLIPBOARD, "-m");
- if (gdpiplus) cdUseContextPlus(0);
+ if (contextplus) cdUseContextPlus(0);
return 0;
}
int SimpleDrawClipboardEMF(void)
{
- if (gdpiplus) cdUseContextPlus(1);
+ if (contextplus) cdUseContextPlus(1);
DrawCanvasDriverSizeParam(CD_CLIPBOARD, "");
- if (gdpiplus) cdUseContextPlus(0);
+ if (contextplus) cdUseContextPlus(0);
return 0;
}
@@ -449,9 +449,9 @@ int SimpleDrawImage(void)
{
if (dbCanvas) cdKillCanvas(dbCanvas);
- if (gdpiplus) cdUseContextPlus(1);
+ if (contextplus) cdUseContextPlus(1);
dbCanvas = cdCreateCanvas(CD_DBUFFER, winCanvas);
- if (gdpiplus) cdUseContextPlus(0);
+ if (contextplus) cdUseContextPlus(0);
curCanvas = dbCanvas;
SimpleDrawRepaint();
@@ -463,9 +463,9 @@ int SimpleDrawImageRGB(void)
{
if (dbCanvas) cdKillCanvas(dbCanvas);
- if (gdpiplus) cdUseContextPlus(1);
+ if (contextplus) cdUseContextPlus(1);
dbCanvas = cdCreateCanvas(CD_DBUFFERRGB, winCanvas);
- if (gdpiplus) cdUseContextPlus(0);
+ if (contextplus) cdUseContextPlus(0);
curCanvas = dbCanvas;
SimpleDrawRepaint();
@@ -517,52 +517,51 @@ void SimpleDraw(void)
int SimpleDrawAll(void)
{
- int w, h;
cdCanvas* canvas = cdActiveCanvas();
- cdGetCanvasSize(&w, &h, 0, 0);
+ int w, h;
+ cdCanvasGetSize(canvas, &w, &h, NULL, NULL);
simple_draw = DRAW_ALL;
- wdViewport(0,w-1,0,h-1);
- if (w>h)
- wdWindow(0,(double)w/(double)h,0,1);
- else
- wdWindow(0,1,0,(double)h/(double)w);
-
/* Clear the background to be white */
- cdBackground(CD_WHITE);
+ cdCanvasBackground(canvas, CD_WHITE);
// cdBackground(CD_GREEN);
- cdClear();
-
- cdLineWidth(3);
- cdForeground(cdEncodeAlpha(CD_DARK_MAGENTA, 128));
- cdRect(100, 200, 100, 200);
-
- cdBegin(CD_OPEN_LINES);
- cdVertex(300, 250);
- cdVertex(320, 270);
- cdVertex(350, 260);
- cdVertex(340, 200);
- cdVertex(310, 210);
- cdEnd();
+ cdCanvasClear(canvas);
+
+ /* Draw a reactangle and a polyline at the bottom-left area,
+ using a thick line with transparency.
+ Observe that transparency is only supported in a few drivers,
+ and line join is not supported in the IMAGERGB driver. */
+ cdCanvasLineWidth(canvas, 3);
+ cdCanvasLineStyle(canvas, CD_CONTINUOUS);
+ cdCanvasForeground(canvas, cdEncodeAlpha(CD_DARK_MAGENTA, 128));
+ cdCanvasRect(canvas, 100, 200, 100, 200);
+
+ cdCanvasBegin(canvas, CD_OPEN_LINES);
+ cdCanvasVertex(canvas, 300, 250);
+ cdCanvasVertex(canvas, 320, 270);
+ cdCanvasVertex(canvas, 350, 260);
+ cdCanvasVertex(canvas, 340, 200);
+ cdCanvasVertex(canvas, 310, 210);
+ cdCanvasEnd(canvas);
- cdInteriorStyle(CD_SOLID);
-
- cdForeground(CD_RED);
- cdLineWidth(3);
+ /* Draw the red diagonal line with a custom line style.
+ Observe that line styles are not supported in the IMAGERGB driver. */
+ cdCanvasForeground(canvas, CD_RED);
+ cdCanvasLineWidth(canvas, 3);
{
int dashes[] = {20, 15, 5, 5};
- cdLineStyleDashes(dashes, 4);
+ cdCanvasLineStyleDashes(canvas, dashes, 4);
}
- cdLineStyle(CD_CUSTOM);
- cdLine(0, 0, w-1, h-1);
+ cdCanvasLineStyle(canvas, CD_CUSTOM);
+ cdCanvasLine(canvas, 0, 0, w-1, h-1);
- cdForeground(CD_BLUE);
- cdLineWidth(10);
- cdLineStyle(CD_DOTTED);
- //cdLine(0, 0, 500, 500);
-// wdLine(0, 1, 1, 0);
- cdLine(0, h-1, w-1, 0);
+ /* Draw the blue diagonal line with a pre-defined line style.
+ Observe that the pre-defined line style is dependent on the driver. */
+ cdCanvasForeground(canvas, CD_BLUE);
+ cdCanvasLineWidth(canvas, 10);
+ cdCanvasLineStyle(canvas, CD_DOTTED);
+ cdCanvasLine(canvas, 0, h-1, w-1, 0);
switch(clipping)
{
@@ -628,43 +627,62 @@ int SimpleDrawAll(void)
// cdSetfAttribute("ROTATE", "15 %d %d", w/2, h/2);
- cdLineStyle(CD_CONTINUOUS);
- cdLineWidth(1);
- cdBackOpacity(CD_TRANSPARENT);
-
- cdForeground(CD_MAGENTA);
- cdSector(w-100, 100, 100, 100, 50, 180);
- cdForeground(CD_RED);
- cdArc(100, 100, 100, 100, 50, 180);
-
- cdForeground(CD_YELLOW);
- cdBox(w/2 - 100, w/2 + 100, h/2 - 100, h/2 + 100);
-
- cdTextAlignment(CD_CENTER);
- cdTextOrientation(70);
- cdFont(CD_TIMES_ROMAN, CD_BOLD, 24);
-
+ /* Reset line style and width */
+ cdCanvasLineStyle(canvas, CD_CONTINUOUS);
+ cdCanvasLineWidth(canvas, 1);
+// cdBackOpacity(CD_TRANSPARENT);
+
+ /* Draw an arc at bottom-left, and a sector at bottom-right.
+ Notice that counter-clockwise orientation of both. */
+ cdCanvasInteriorStyle(canvas, CD_SOLID);
+ cdCanvasForeground(canvas, CD_MAGENTA);
+ cdCanvasSector(canvas, w-100, 100, 100, 100, 50, 180);
+ cdCanvasForeground(canvas, CD_RED);
+ cdCanvasArc(canvas, 100, 100, 100, 100, 50, 180);
+
+ /* Draw a solid filled rectangle at center. */
+ cdCanvasForeground(canvas, CD_YELLOW);
+ cdCanvasBox(canvas, w/2 - 100, w/2 + 100, h/2 - 100, h/2 + 100);
+
+ /* Prepare font for text. */
+ cdCanvasTextAlignment(canvas, CD_CENTER);
+ cdCanvasTextOrientation(canvas, 70);
+ cdCanvasFont(canvas, "Times", CD_BOLD, 24);
+
+ /* Draw text at center, with orientation,
+ and draw its bounding box.
+ Notice that in some drivers the bounding box is not precise. */
{
int rect[8];
- cdTextBounds(w/2, h/2, "cdMin Draw (çãí)", rect);
- cdForeground(CD_RED);
- cdBegin(CD_CLOSED_LINES);
- cdVertex(rect[0], rect[1]);
- cdVertex(rect[2], rect[3]);
- cdVertex(rect[4], rect[5]);
- cdVertex(rect[6], rect[7]);
- cdEnd();
+ cdCanvasGetTextBounds(canvas, w/2, h/2, "cdMin Draw (çãí)", rect);
+ cdCanvasForeground(canvas, CD_RED);
+ cdCanvasBegin(canvas, CD_CLOSED_LINES);
+ cdCanvasVertex(canvas, rect[0], rect[1]);
+ cdCanvasVertex(canvas, rect[2], rect[3]);
+ cdCanvasVertex(canvas, rect[4], rect[5]);
+ cdCanvasVertex(canvas, rect[6], rect[7]);
+ cdCanvasEnd(canvas);
}
- cdForeground(CD_BLUE);
- cdText(w/2, h/2, "cdMin Draw (çãí)");
- cdTextOrientation(0);
+ cdCanvasForeground(canvas, CD_BLUE);
+ cdCanvasText(canvas, w/2, h/2, "cdMin Draw (çãí)");
+// cdTextOrientation(0);
- wdBox(0.20, 0.30, 0.40, 0.50);
- cdForeground(CD_RED);
- wdLine(0.20, 0.40, 0.30, 0.50);
+ /* Prepare World Coordinates */
+ wdCanvasViewport(canvas, 0,w-1,0,h-1);
+ if (w>h)
+ wdCanvasWindow(canvas, 0,(double)w/(double)h,0,1);
+ else
+ wdCanvasWindow(canvas, 0,1,0,(double)h/(double)w);
+
+ /* Draw a filled blue rectangle in WC */
+ wdCanvasBox(canvas, 0.20, 0.30, 0.40, 0.50);
+ cdCanvasForeground(canvas, CD_RED);
+ /* Draw the diagonal of that rectangle in WC */
+ wdCanvasLine(canvas, 0.20, 0.40, 0.30, 0.50);
// wdVectorTextDirection(0, 0, 1, 1);
- wdVectorCharSize(0.07);
+ /* Prepare Vector Text in WC. */
+ wdCanvasVectorCharSize(canvas, 0.07);
// wdVectorText(0.1, 0.4, "ñç áéíóú àèìòù âêîôû äëïöü");
// wdVectorText(0.1, 0.2, "ÑÇ ÁÉÍÓÚ ÀÈÌÒÙ ÂÊÎÔÛ ÄËÏÖÜ");
@@ -694,146 +712,158 @@ int SimpleDrawAll(void)
// }
//}
+ /* Draw vector text, and draw its bounding box.
+ We also use this text to show when we are using a contextplus driver. */
{
double rect[8];
- cdForeground(CD_RED);
- if (gdpiplus)
- wdGetVectorTextBounds("WDj-Plus", 0.25, 0.35, rect);
+ cdCanvasForeground(canvas, CD_RED);
+ if (contextplus)
+ wdCanvasGetVectorTextBounds(canvas, "WDj-Plus", 0.25, 0.35, rect);
else
- wdGetVectorTextBounds("WDj", 0.25, 0.35, rect);
- cdBegin(CD_CLOSED_LINES);
- wdVertex(rect[0], rect[1]);
- wdVertex(rect[2], rect[3]);
- wdVertex(rect[4], rect[5]);
- wdVertex(rect[6], rect[7]);
- cdEnd();
+ wdCanvasGetVectorTextBounds(canvas, "WDj", 0.25, 0.35, rect);
+ cdCanvasBegin(canvas, CD_CLOSED_LINES);
+ wdCanvasVertex(canvas, rect[0], rect[1]);
+ wdCanvasVertex(canvas, rect[2], rect[3]);
+ wdCanvasVertex(canvas, rect[4], rect[5]);
+ wdCanvasVertex(canvas, rect[6], rect[7]);
+ cdCanvasEnd(canvas);
+
+ cdCanvasLineWidth(canvas, 2);
+ cdCanvasLineStyle(canvas, CD_CONTINUOUS);
+ if (contextplus)
+ wdCanvasVectorText(canvas, 0.25, 0.35, "WDj-Plus");
+ else
+ wdCanvasVectorText(canvas, 0.25, 0.35, "WDj");
+ cdCanvasLineWidth(canvas, 1);
}
- cdForeground(CD_GREEN);
- cdBegin(CD_PATH);
+ /* Draw a filled path at center-right (looks like a weird fish).
+ Notice that in PDF the arc is necessarily a circle arc, and not an ellipse. */
+ cdCanvasForeground(canvas, CD_GREEN);
+ cdCanvasBegin(canvas, CD_PATH);
cdCanvasPathSet(canvas, CD_PATH_MOVETO);
- cdVertex(w/2 + 200, h/2);
+ cdCanvasVertex(canvas, w/2 + 200, h/2);
cdCanvasPathSet(canvas, CD_PATH_LINETO);
- cdVertex(w/2 + 230, h/2 + 50);
+ cdCanvasVertex(canvas, w/2 + 230, h/2 + 50);
cdCanvasPathSet(canvas, CD_PATH_LINETO);
- cdVertex(w/2 + 250, h/2 + 50);
+ cdCanvasVertex(canvas, w/2 + 250, h/2 + 50);
cdCanvasPathSet(canvas, CD_PATH_CURVETO);
- cdVertex(w/2+150+150, h/2+200-50); /* control point for start */
- cdVertex(w/2+150+180, h/2+250-50); /* control point for end */
- cdVertex(w/2+150+180, h/2+200-50); /* end point */
+ cdCanvasVertex(canvas, w/2+150+150, h/2+200-50); /* control point for start */
+ cdCanvasVertex(canvas, w/2+150+180, h/2+250-50); /* control point for end */
+ cdCanvasVertex(canvas, w/2+150+180, h/2+200-50); /* end point */
cdCanvasPathSet(canvas, CD_PATH_CURVETO);
- cdVertex(w/2+150+180, h/2+150-50);
- cdVertex(w/2+150+150, h/2+100-50);
- cdVertex(w/2+150+300, h/2+100-50);
+ cdCanvasVertex(canvas, w/2+150+180, h/2+150-50);
+ cdCanvasVertex(canvas, w/2+150+150, h/2+100-50);
+ cdCanvasVertex(canvas, w/2+150+300, h/2+100-50);
cdCanvasPathSet(canvas, CD_PATH_LINETO);
- cdVertex(w/2+150+300, h/2-50);
+ cdCanvasVertex(canvas, w/2+150+300, h/2-50);
cdCanvasPathSet(canvas, CD_PATH_ARC);
- cdVertex(w/2+300, h/2); /* center */
- cdVertex(200, 100); /* width, height */
- cdVertex(-30*1000, -170*1000); /* start angle, end angle (degrees / 1000) */
+ cdCanvasVertex(canvas, w/2+300, h/2); /* center */
+ cdCanvasVertex(canvas, 200, 100); /* width, height */
+ cdCanvasVertex(canvas, -30*1000, -170*1000); /* start angle, end angle (degrees / 1000) */
// cdCanvasPathSet(canvas, CD_PATH_CLOSE);
// cdCanvasPathSet(canvas, CD_PATH_STROKE);
cdCanvasPathSet(canvas, CD_PATH_FILL);
// cdCanvasPathSet(canvas, CD_PATH_FILLSTROKE);
- cdEnd();
-
-
- cdPixel(10, h/2+0, CD_RED);
- cdPixel(11, h/2+1, CD_GREEN);
- cdPixel(12, h/2+2, CD_BLUE);
-
- /* draws all the mark type possibilities */
- cdForeground(CD_RED);
- cdMarkSize(30);
- cdMarkType(CD_PLUS);
- cdMark(200, 200);
- cdMarkType(CD_CIRCLE);
- cdMark(w - 200, 200);
- cdMarkType(CD_HOLLOW_CIRCLE);
- cdMark(200, h - 200);
- cdMarkType(CD_DIAMOND);
- cdMark(w - 200, h - 200);
-
- /* draws all the line style possibilities */
- cdLineWidth(1);
- cdLineStyle(CD_CONTINUOUS);
- cdLine(0, 10, w, 10);
- cdLineStyle(CD_DASHED);
- cdLine(0, 20, w, 20);
- cdLineStyle(CD_DOTTED);
- cdLine(0, 30, w, 30);
- cdLineStyle(CD_DASH_DOT);
- cdLine(0, 40, w, 40);
- cdLineStyle(CD_DASH_DOT_DOT);
- cdLine(0, 50, w, 50);
-
- /* draws all the hatch style possibilities */
- cdHatch(CD_VERTICAL);
- cdBox(0, 50, h - 60, h);
- cdHatch(CD_FDIAGONAL);
- cdBox(50, 100, h - 60, h);
- cdHatch(CD_BDIAGONAL);
- cdBox(100, 150, h - 60, h);
- cdHatch(CD_CROSS);
- cdBox(150, 200, h - 60, h);
- cdHatch(CD_HORIZONTAL);
- cdBox(200, 250, h - 60, h);
- cdHatch(CD_DIAGCROSS);
- cdBox(250, 300, h - 60, h);
-
- /* closed polygon */
- cdBegin(CD_CLOSED_LINES);
- cdVertex(w/2, h - 100);
- cdVertex(w/2 + 50, h - 150);
- cdVertex(w/2, h - 200);
- cdVertex(w/2 - 50, h - 150);
- cdEnd();
-
- /* hatch filled polygon */
- cdHatch(CD_DIAGCROSS);
- cdBegin(CD_FILL);
- cdVertex(100, h/2);
- cdVertex(150, h/2 + 50);
- cdVertex(200, h/2);
- cdVertex(150, h/2 - 50);
- cdEnd();
-
- /* pattern filled polygon */
- cdPattern(STYLE_SIZE, STYLE_SIZE, pattern);
- cdBegin(CD_FILL);
- cdVertex(w - 100, h/2);
- cdVertex(w - 150, h/2 + 50);
- cdVertex(w - 200, h/2);
- cdVertex(w - 150, h/2 - 50);
- cdEnd();
+ cdCanvasEnd(canvas);
+
+ /* Draw 3 pixels at center left. */
+ cdCanvasPixel(canvas, 10, h/2+0, CD_RED);
+ cdCanvasPixel(canvas, 11, h/2+1, CD_GREEN);
+ cdCanvasPixel(canvas, 12, h/2+2, CD_BLUE);
+
+ /* Draw 4 mark types, distributed near each corner. */
+ cdCanvasForeground(canvas, CD_RED);
+ cdCanvasMarkSize(canvas, 30);
+ cdCanvasMarkType(canvas, CD_PLUS);
+ cdCanvasMark(canvas, 200, 200);
+ cdCanvasMarkType(canvas, CD_CIRCLE);
+ cdCanvasMark(canvas, w - 200, 200);
+ cdCanvasMarkType(canvas, CD_HOLLOW_CIRCLE);
+ cdCanvasMark(canvas, 200, h - 200);
+ cdCanvasMarkType(canvas, CD_DIAMOND);
+ cdCanvasMark(canvas, w - 200, h - 200);
+
+ /* Draw all the line style possibilities at bottom.
+ Notice that they have some small differences between drivers. */
+ cdCanvasLineWidth(canvas, 1);
+ cdCanvasLineStyle(canvas, CD_CONTINUOUS);
+ cdCanvasLine(canvas, 0, 10, w, 10);
+ cdCanvasLineStyle(canvas, CD_DASHED);
+ cdCanvasLine(canvas, 0, 20, w, 20);
+ cdCanvasLineStyle(canvas, CD_DOTTED);
+ cdCanvasLine(canvas, 0, 30, w, 30);
+ cdCanvasLineStyle(canvas, CD_DASH_DOT);
+ cdCanvasLine(canvas, 0, 40, w, 40);
+ cdCanvasLineStyle(canvas, CD_DASH_DOT_DOT);
+ cdCanvasLine(canvas, 0, 50, w, 50);
+
+ /* Draw all the hatch style possibilities in the top-left corner.
+ Notice that they have some small differences between drivers. */
+ cdCanvasHatch(canvas, CD_VERTICAL);
+ cdCanvasBox(canvas, 0, 50, h - 60, h);
+ cdCanvasHatch(canvas, CD_FDIAGONAL);
+ cdCanvasBox(canvas, 50, 100, h - 60, h);
+ cdCanvasHatch(canvas, CD_BDIAGONAL);
+ cdCanvasBox(canvas, 100, 150, h - 60, h);
+ cdCanvasHatch(canvas, CD_CROSS);
+ cdCanvasBox(canvas, 150, 200, h - 60, h);
+ cdCanvasHatch(canvas, CD_HORIZONTAL);
+ cdCanvasBox(canvas, 200, 250, h - 60, h);
+ cdCanvasHatch(canvas, CD_DIAGCROSS);
+ cdCanvasBox(canvas, 250, 300, h - 60, h);
+
+ /* Draw 4 regions, in diamond shape,
+ at top, bottom, left, right,
+ using different interior styles. */
+
+ /* At top, not filled polygon, notice that the last line style is used. */
+ cdCanvasBegin(canvas, CD_CLOSED_LINES);
+ cdCanvasVertex(canvas, w/2, h - 100);
+ cdCanvasVertex(canvas, w/2 + 50, h - 150);
+ cdCanvasVertex(canvas, w/2, h - 200);
+ cdCanvasVertex(canvas, w/2 - 50, h - 150);
+ cdCanvasEnd(canvas);
+
+ /* At left, hatch filled polygon */
+ cdCanvasHatch(canvas, CD_DIAGCROSS);
+ cdCanvasBegin(canvas, CD_FILL);
+ cdCanvasVertex(canvas, 100, h/2);
+ cdCanvasVertex(canvas, 150, h/2 + 50);
+ cdCanvasVertex(canvas, 200, h/2);
+ cdCanvasVertex(canvas, 150, h/2 - 50);
+ cdCanvasEnd(canvas);
+
+ /* At right, pattern filled polygon */
+ cdCanvasPattern(canvas, STYLE_SIZE, STYLE_SIZE, pattern);
+ cdCanvasBegin(canvas, CD_FILL);
+ cdCanvasVertex(canvas, w - 100, h/2);
+ cdCanvasVertex(canvas, w - 150, h/2 + 50);
+ cdCanvasVertex(canvas, w - 200, h/2);
+ cdCanvasVertex(canvas, w - 150, h/2 - 50);
+ cdCanvasEnd(canvas);
- /* stipple filled polygon */
- cdStipple(STYLE_SIZE, STYLE_SIZE, stipple);
- cdBegin(CD_FILL);
- cdVertex(w/2, 100);
- cdVertex(w/2 + 50, 150);
- cdVertex(w/2, 200);
- cdVertex(w/2 - 50, 150);
- cdEnd();
-
- cdBegin(CD_BEZIER);
- cdVertex(100, 100);
- cdVertex(150, 200);
- cdVertex(180, 250);
- cdVertex(180, 200);
- cdVertex(180, 150);
- cdVertex(150, 100);
- cdVertex(300, 100);
- cdEnd();
-
- cdLineWidth(2);
- cdLineStyle(CD_CONTINUOUS);
- if (gdpiplus)
- wdVectorText(0.25, 0.35, "WDj-Plus");
- else
- wdVectorText(0.25, 0.35, "WDj");
-
- /* always clear the image buffer contents */
+ /* At bottom, stipple filled polygon */
+ cdCanvasStipple(canvas, STYLE_SIZE, STYLE_SIZE, stipple);
+ cdCanvasBegin(canvas, CD_FILL);
+ cdCanvasVertex(canvas, w/2, 100);
+ cdCanvasVertex(canvas, w/2 + 50, 150);
+ cdCanvasVertex(canvas, w/2, 200);
+ cdCanvasVertex(canvas, w/2 - 50, 150);
+ cdCanvasEnd(canvas);
+
+ /* Draw two beziers at bottom-left */
+ cdCanvasBegin(canvas, CD_BEZIER);
+ cdCanvasVertex(canvas, 100, 100);
+ cdCanvasVertex(canvas, 150, 200);
+ cdCanvasVertex(canvas, 180, 250);
+ cdCanvasVertex(canvas, 180, 200);
+ cdCanvasVertex(canvas, 180, 150);
+ cdCanvasVertex(canvas, 150, 100);
+ cdCanvasVertex(canvas, 300, 100);
+ cdCanvasEnd(canvas);
+
+ /* Initialize the image buffer contents */
//#define IMAGE_SIZE 16
memset(red, 0xFF, IMAGE_SIZE*IMAGE_SIZE/2);
memset(green, 0x5F, IMAGE_SIZE*IMAGE_SIZE/2);
@@ -870,13 +900,19 @@ int SimpleDrawAll(void)
// cdPutImageRGB(IMAGE_SIZE, IMAGE_SIZE, red, green, blue, 100, h - 200, IMAGE_SIZE, IMAGE_SIZE);
// cdPutImageRGBA(IMAGE_SIZE, IMAGE_SIZE, red, green, blue, alpha, 100, h - 200, IMAGE_SIZE, IMAGE_SIZE);
// cdPutImageRGB(IMAGE_SIZE, IMAGE_SIZE, red, green, blue, w - 400, h - 310, 3*IMAGE_SIZE, 3*IMAGE_SIZE);
- cdPutImageRGBA(IMAGE_SIZE, IMAGE_SIZE, red, green, blue, alpha, w - 400, h - 310, 3*IMAGE_SIZE, 3*IMAGE_SIZE);
+ /* Draw the image on the top-right corner but increasing its actual size, and uses its full area */
+ cdCanvasPutImageRectRGBA(canvas, IMAGE_SIZE, IMAGE_SIZE, red, green, blue, alpha, w - 400, h - 310, 3*IMAGE_SIZE, 3*IMAGE_SIZE, 0, 0, 0, 0);
cdSetAttribute("ROTATE", NULL);
if (use_transform)
cdCanvasTransform(canvas, NULL);
cdClip(CD_CLIPOFF);
- cdFlush();
+
+ /* Adds a new page, or
+ flushes the file, or
+ flushes the screen, or
+ swap the double buffer. */
+ cdCanvasFlush(canvas);
return 0;
}