summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--html/en/drv/cairo.html2
-rw-r--r--html/en/func/init.html25
-rw-r--r--html/en/history.html6
-rw-r--r--html/wb/wb_usr.lua8
-rw-r--r--html/wb_tree.html356
-rw-r--r--include/cd.h12
-rw-r--r--include/cd_private.h5
-rw-r--r--mak.vc9/cdcairo.vcproj2
-rw-r--r--src/cairo/cdcairodbuf.c3
-rw-r--r--src/cairo/cdcairoemf.c3
-rw-r--r--src/cairo/cdcairoimg.c3
-rw-r--r--src/cairo/cdcairoirgb.c3
-rw-r--r--src/cairo/cdcaironative_gdk.c1
-rw-r--r--src/cairo/cdcaironative_win32.c3
-rw-r--r--src/cairo/cdcaironative_x11.c1
-rw-r--r--src/cairo/cdcairopdf.c3
-rw-r--r--src/cairo/cdcairoplus.c10
-rw-r--r--src/cairo/cdcairoprn_unix.c3
-rw-r--r--src/cairo/cdcairoprn_win32.c3
-rw-r--r--src/cairo/cdcairops.c3
-rw-r--r--src/cairo/cdcairosvg.c3
-rw-r--r--src/cd.c14
-rw-r--r--src/cd.def2
-rw-r--r--src/cdgdk.def2
-rw-r--r--src/drv/cd0emf.c2
-rw-r--r--src/drv/cd0prn.c2
-rw-r--r--src/drv/cdcgm.c1
-rw-r--r--src/drv/cddebug.c1
-rw-r--r--src/drv/cddgn.c1
-rw-r--r--src/drv/cddxf.c1
-rw-r--r--src/drv/cdgl.c1
-rw-r--r--src/drv/cdirgb.c2
-rw-r--r--src/drv/cdmf.c1
-rw-r--r--src/drv/cdpdf.c1
-rw-r--r--src/drv/cdpicture.c1
-rw-r--r--src/drv/cdps.c1
-rw-r--r--src/gdiplus/cdwclpp.cpp1
-rw-r--r--src/gdiplus/cdwdbufp.cpp1
-rw-r--r--src/gdiplus/cdwemfp.cpp1
-rw-r--r--src/gdiplus/cdwgdiplus.c12
-rw-r--r--src/gdiplus/cdwimgp.cpp1
-rw-r--r--src/gdiplus/cdwnativep.cpp1
-rw-r--r--src/gdiplus/cdwprnp.cpp1
-rw-r--r--src/gdk/cdgdkclp.c1
-rw-r--r--src/gdk/cdgdkdbuf.c3
-rw-r--r--src/gdk/cdgdkimg.c3
-rw-r--r--src/gdk/cdgdknative.c5
-rw-r--r--src/lua5/cdlua5.c87
-rw-r--r--src/lua5/cdvoid5.c1
-rw-r--r--src/svg/cdsvg.c1
-rw-r--r--src/win32/cdwclp.c3
-rw-r--r--src/win32/cdwdbuf.c3
-rw-r--r--src/win32/cdwemf.c3
-rw-r--r--src/win32/cdwimg.c3
-rw-r--r--src/win32/cdwnative.c3
-rw-r--r--src/win32/cdwprn.c3
-rw-r--r--src/win32/cdwwmf.c1
-rw-r--r--src/x11/cdxclp.c1
-rw-r--r--src/x11/cdxdbuf.c3
-rw-r--r--src/x11/cdximg.c3
-rw-r--r--src/x11/cdxnative.c5
-rw-r--r--src/xrender/cdxrender.c6
-rw-r--r--src/xrender/cdxrplus.c6
63 files changed, 390 insertions, 263 deletions
diff --git a/html/en/drv/cairo.html b/html/en/drv/cairo.html
index 0b28ea5..793760e 100644
--- a/html/en/drv/cairo.html
+++ b/html/en/drv/cairo.html
@@ -67,7 +67,7 @@ driver can be used; in other UNICES only the X-Win base driver
can be used.</p>
<h3>Extra Drivers (cdcairo.h)</h3>
-<p>Only available in Lua when <strong>require&quot;cdluacairo&quot;</strong> is
+<p>These are not ContextPlus drivers. In Lua, they are available only when <strong>require&quot;cdluacairo&quot;</strong> is
used.</p>
<h4>CD_CAIRO_PS - PostScript Driver</h4>
diff --git a/html/en/func/init.html b/html/en/func/init.html
index 8b3bccb..a73deea 100644
--- a/html/en/func/init.html
+++ b/html/en/func/init.html
@@ -132,13 +132,13 @@ transparency.</p>
<p>In Lua, when using require&quot;cdluacontextplus&quot; this function will be
automatically called.</p>
-</div><hr><div class="function"><pre class="function"><span class="mainFunction">cdContext*&nbsp;cdCanvasGetContext(cdCanvas *canvas); [in C]</span>
+</div><hr><div class="function"><pre class="function"><span class="mainFunction">cdContext*&nbsp;<a name="cdCanvasGetContext">cdCanvasGetContext</a>(cdCanvas *canvas); [in C]</span>
canvas:GetContext(canvas: cdCanvas) -&gt; (ctx: number) [in Lua]</pre>
<p>Returns the context of a given canvas, which can be compared with the predefined contexts, such as &quot;CD_PS&quot;.</p>
-</div><div class="function"><pre class="function"><span class="mainFunction">int&nbsp;cdContextCaps(cdContext* ctx); [in C]</span>
+</div><div class="function"><pre class="function"><span class="mainFunction">int&nbsp;<a name="cdContextCaps">cdContextCaps</a>(cdContext* ctx); [in C]</span>
cd.ContextCaps(ctx: number) -&gt; (caps: number) [in Lua]</pre>
@@ -181,7 +181,26 @@ cd.ContextCaps(ctx: number) -&gt; (caps: number) [in Lua]</pre>
(Native Window and IUP).</p>
-</div><div class="function"><pre class="function"><span class="mainFunction">int&nbsp;cdCanvasSimulate(cdCanvas* canvas, int mode); [in C]</span>
+</div><div class="function"><pre class="function"><span class="mainFunction">int&nbsp;<a name="cdContextType">cdContextType</a>(cdContext* ctx); [in C]</span>
+
+cd.ContextType(ctx: number) -&gt; (type: number) [in Lua]</pre>
+
+ <p>Returns the type of the context:</p>
+
+ <p>CD_CTX_WINDOW - GUI window based<br>
+CD_CTX_DEVICE - device based (clipboard, printer, picture)<br>
+CD_CTX_IMAGE - server or client image based, including double buffer based <br>
+ CD_CTX_FILE - metafile based</p>
+
+
+</div><div class="function"><pre class="function"><span class="mainFunction">int&nbsp;<a name="cdContextIsPlus">cdContextIsPlus</a>(cdContext* ctx); [in C]</span>
+
+cd.ContextIsPlus(ctx: number) -&gt; (plus: boolean) [in Lua]</pre>
+
+ <p>Returns if it is a context plus.</p>
+
+
+</div><div class="function"><pre class="function"><span class="mainFunction">int&nbsp;<a name="cdCanvasSimulate">cdCanvasSimulate</a>(cdCanvas* canvas, int mode); [in C]</span>
canvas:Simulate(mode: number) -&gt; (old_mode: number) [in Lua]</pre>
diff --git a/html/en/history.html b/html/en/history.html
index cdb7187..117262b 100644
--- a/html/en/history.html
+++ b/html/en/history.html
@@ -27,8 +27,10 @@
<body>
<h2>History of Changes</h2>
-<h3>CVS (17/Nov/2010)</h3>
+<h3>CVS (18/Mar/2011)</h3>
<ul>
+ <li><span class="hist_new">New:</span> functions <strong>cdContextIsPlus</strong>
+ and <strong>cdContextType</strong>.</li>
<li><span class="hist_fixed">Fixed:</span> defines in Cairo so it can be
compiled using older Cairo and Pango versions.</li>
</ul>
@@ -51,7 +53,7 @@
<span class="hist_fixed">Fixed:</span> CD_QUERY in <strong>
cdCanvasNativeFont</strong>.</li>
<li>
- <span class="hist_fixed">Fixed:</span> canvas:Transform when nil is used
+ <span class="hist_fixed">Fixed:</span> canvas:<strong>Transform</strong> when nil is used
to reset the transformation.</li>
<li>
<span class="hist_fixed">Fixed:</span> <strong>cdCanvasClear</strong>
diff --git a/html/wb/wb_usr.lua b/html/wb/wb_usr.lua
index 939dde3..625286f 100644
--- a/html/wb/wb_usr.lua
+++ b/html/wb/wb_usr.lua
@@ -198,6 +198,14 @@ wb_usr.tree =
link= "func/init.html#cdContextCaps"
},
{
+ name= {nl= "ContextType"},
+ link= "func/init.html#cdContextType"
+ },
+ {
+ name= {nl= "ContextIsPlus"},
+ link= "func/init.html#cdContextIsPlus"
+ },
+ {
name= {nl= "Simulate"},
link= "func/init.html#cdSimulate"
},
diff --git a/html/wb_tree.html b/html/wb_tree.html
index a068f84..2cfb538 100644
--- a/html/wb_tree.html
+++ b/html/wb_tree.html
@@ -273,289 +273,291 @@
<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#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="link39folder.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="link40folder.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="link40folder.3.1" href="en/func/init.html#cdContextType">ContextType</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="link41folder.3.1" href="en/func/init.html#cdContextIsPlus">ContextIsPlus</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.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="link41folder.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="link42folder.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="link43folder.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="link43folder.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="link44folder.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="link45folder.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="link44folder.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="link45folder.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="link46folder.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="link47folder.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="link48folder.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="link49folder.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="link50folder.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="link51folder.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="link46folder.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="link47folder.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="link48folder.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="link49folder.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="link50folder.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="link51folder.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="link52folder.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="link53folder.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="link52folder.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="link53folder.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="link54folder.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="link55folder.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="link56folder.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="link57folder.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="link54folder.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="link55folder.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="link56folder.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="link57folder.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="link58folder.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="link59folder.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="link58folder.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="link59folder.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="link60folder.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="link61folder.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="link62folder.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="link63folder.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="link60folder.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="link61folder.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="link62folder.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="link63folder.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="link64folder.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="link65folder.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="link64folder.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="link66folder.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="link65folder.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="link66folder.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="link67folder.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="link68folder.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="link69folder.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="link70folder.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="link71folder.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="link72folder.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="link73folder.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="link74folder.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="link67folder.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="link68folder.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="link69folder.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="link70folder.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="link71folder.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="link72folder.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="link73folder.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="link74folder.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="link75folder.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="link76folder.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="link75folder.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="link77folder.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="link76folder.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="link77folder.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="link78folder.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="link78folder.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="link79folder.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="link80folder.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="link79folder.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="link81folder.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="link80folder.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="link81folder.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="link82folder.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="link83folder.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="link84folder.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="link82folder.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="link83folder.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="link84folder.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="link85folder.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="link86folder.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="link85folder.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="link86folder.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="link87folder.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="link88folder.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="link89folder.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="link90folder.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="link87folder.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="link88folder.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="link89folder.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="link90folder.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="link91folder.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="link92folder.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="link91folder.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="link93folder.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="link92folder.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="link93folder.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="link94folder.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="link95folder.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="link94folder.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="link95folder.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="link96folder.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="link97folder.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="link96folder.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="link98folder.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="link97folder.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="link98folder.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="link99folder.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="link100folder.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="link99folder.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="link101folder.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="link100folder.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="link101folder.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="link102folder.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="link103folder.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="link102folder.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="link103folder.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="link104folder.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="link105folder.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="link106folder.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="link104folder.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="link105folder.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="link106folder.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="link107folder.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="link108folder.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="link107folder.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="link109folder.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="link108folder.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="link109folder.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="link110folder.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="link111folder.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="link110folder.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="link111folder.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="link112folder.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="link113folder.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="link112folder.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="link113folder.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="link114folder.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="link115folder.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="link116folder.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="link117folder.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="link118folder.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="link119folder.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="link120folder.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="link121folder.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="link122folder.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="link114folder.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="link115folder.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="link116folder.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="link117folder.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="link118folder.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="link119folder.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="link120folder.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="link121folder.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="link122folder.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="link123folder.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="link124folder.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="link123folder.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="link124folder.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="link125folder.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="link126folder.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="link125folder.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="link126folder.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="link127folder.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="link128folder.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="link127folder.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="link129folder.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="link128folder.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="link130folder.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="link129folder.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="link130folder.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="link131folder.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="link132folder.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="link133folder.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="link131folder.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="link132folder.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="link133folder.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="link134folder.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="link135folder.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="link134folder.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="link135folder.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="link136folder.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="link137folder.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="link136folder.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="link137folder.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="link138folder.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="link139folder.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="link138folder.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="link140folder.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="link139folder.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="link141folder.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="link140folder.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="link141folder.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="link142folder.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="link143folder.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="link144folder.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="link142folder.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="link143folder.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="link144folder.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="link145folder.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="link146folder.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="link145folder.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="link146folder.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="link147folder.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="link147folder.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="link148folder.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="link149folder.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="link148folder.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="link150folder.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="link149folder.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="link150folder.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="link151folder.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="link152folder.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="link153folder.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="link151folder.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="link152folder.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="link153folder.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="link154folder.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="link155folder.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="link154folder.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="link155folder.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="link156folder.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="link157folder.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="link158folder.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="link159folder.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="link160folder.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="link161folder.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="link156folder.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="link157folder.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="link158folder.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="link159folder.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="link160folder.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="link161folder.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="link162folder.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="link163folder.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="link162folder.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="link163folder.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="link164folder.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="link165folder.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="link166folder.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="link167folder.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="link168folder.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="link164folder.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="link165folder.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="link166folder.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="link167folder.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="link168folder.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="link169folder.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="link170folder.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="link169folder.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="link171folder.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="link170folder.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="link171folder.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="link172folder.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="link173folder.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="link174folder.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="link172folder.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="link173folder.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="link174folder.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="link175folder.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="link176folder.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="link175folder.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="link177folder.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="link176folder.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="link177folder.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="link178folder.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="link179folder.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="link178folder.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="link179folder.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="link180folder.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="link181folder.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="link182folder.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="link183folder.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="link184folder.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="link180folder.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="link181folder.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="link182folder.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="link183folder.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="link184folder.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="link185folder.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="link186folder.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="link185folder.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="link186folder.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="link187folder.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="link188folder.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="link187folder.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="link188folder.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="link189folder.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="link190folder.5.3" href="en/func/color.html#cdKillPalette">KillPalette</a></p>
</div>
</div>
<p class="sep"><img src="wb_img/sepnode.png"></p>
- <p><img name="imgfolder.6" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.6')"><a name="link189folder.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="link191folder.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="link190folder.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/node.png"><a class="el" name="link191folder.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/nodelast.png"><a class="el" name="link192folder.6.1" href="en/drv/gl.html">OpenGL</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="link192folder.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/node.png"><a class="el" name="link193folder.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/nodelast.png"><a class="el" name="link194folder.6.1" href="en/drv/gl.html">OpenGL</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="link193folder.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="link194folder.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="link195folder.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="link195folder.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="link196folder.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="link197folder.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="link196folder.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="link197folder.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="link198folder.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="link199folder.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="link198folder.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="link199folder.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="link200folder.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="link201folder.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="link200folder.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="link201folder.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="link202folder.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="link203folder.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="link204folder.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="link202folder.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="link203folder.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="link204folder.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="link205folder.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="link206folder.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="link205folder.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="link206folder.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="link207folder.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="link207folder.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="link208folder.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="link209folder.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="link208folder.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="link209folder.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="link210folder.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="link211folder.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="link210folder.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="link211folder.6.5" href="en/drv/win32.html">GDI</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="link212folder.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="link212folder.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="link213folder.6.5" href="en/drv/win32.html">GDI</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="link214folder.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="link213folder.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="link215folder.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="link214folder.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="link215folder.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="link216folder.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="link216folder.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="link217folder.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="link218folder.6.6" href="en/drv/xrender.html">XRender</a></p>
</div>
</div>
</div>
diff --git a/include/cd.h b/include/cd.h
index 556afa1..70c266e 100644
--- a/include/cd.h
+++ b/include/cd.h
@@ -57,6 +57,8 @@ void cdInitContextPlus(void); /* need an external library */
typedef int (*cdCallback)(cdCanvas* canvas, ...);
int cdContextRegisterCallback(cdContext *context, int cb, cdCallback func);
unsigned long cdContextCaps(cdContext *context);
+int cdContextIsPlus(cdContext *context);
+int cdContextType(cdContext *context);
/* control */
int cdCanvasSimulate(cdCanvas* canvas, int mode);
@@ -394,7 +396,7 @@ enum { /* some font sizes */
CD_LARGE = 18
};
-/* Canvas Capabilities */
+/* Context Capabilities */
#define CD_CAP_NONE 0x00000000
#define CD_CAP_FLUSH 0x00000001
#define CD_CAP_CLEAR 0x00000002
@@ -430,6 +432,14 @@ enum { /* some font sizes */
#define CD_CAP_BEZIER 0x80000000
#define CD_CAP_ALL 0xFFFFFFFF
+/* Context Types */
+enum {
+ CD_CTX_WINDOW,
+ CD_CTX_DEVICE,
+ CD_CTX_IMAGE,
+ CD_CTX_FILE
+};
+
/* cdPlay definitions */
#define CD_SIZECB 0 /* size callback */
typedef int(*cdSizeCB)(cdCanvas *canvas, int w, int h, double w_mm, double h_mm);
diff --git a/include/cd_private.h b/include/cd_private.h
index c85ddbf..672d23c 100644
--- a/include/cd_private.h
+++ b/include/cd_private.h
@@ -68,7 +68,8 @@ struct _cdImage
struct _cdContext
{
unsigned long caps; /* canvas capabilities, combination of CD_CAP_* */
- int plus; /* indicates if the canvas is context plus */
+ int plus; /* indicates if the context is a context plus */
+ int type; /* context type WINDOW, DEVICE, IMAGE or FILE */
/* can NOT be NULL */
void (*cxCreateCanvas)(cdCanvas* canvas, void *data);
@@ -262,7 +263,7 @@ void wdSetDefaults(cdCanvas* canvas);
/********************/
void cdInitContextPlusList(cdContext* ctx_list[]);
cdContext* cdGetContextPlus(int ctx);
-enum{CD_CTX_NATIVEWINDOW, CD_CTX_IMAGE, CD_CTX_DBUFFER, CD_CTX_PRINTER, CD_CTX_EMF, CD_CTX_CLIPBOARD};
+enum{CD_CTXPLUS_NATIVEWINDOW, CD_CTXPLUS_IMAGE, CD_CTXPLUS_DBUFFER, CD_CTXPLUS_PRINTER, CD_CTXPLUS_EMF, CD_CTXPLUS_CLIPBOARD};
#define NUM_CONTEXTPLUS 6
/*************/
diff --git a/mak.vc9/cdcairo.vcproj b/mak.vc9/cdcairo.vcproj
index f2afddc..662963f 100644
--- a/mak.vc9/cdcairo.vcproj
+++ b/mak.vc9/cdcairo.vcproj
@@ -41,7 +41,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
- AdditionalIncludeDirectories="..\include;..\src;..\src\drv;..\src\freetype2;..\src\intcgm;..\src\iup;..\src\sim;&quot;d:\lng\gtk\include\atk-1.0&quot;;d:\lng\gtk\include\cairo;&quot;d:\lng\gtk\include\glib-2.0&quot;;&quot;d:\lng\gtk\include\pango-1.0&quot;;&quot;d:\lng\gtk\include\gtk-2.0&quot;;&quot;d:\lng\gtk\lib\glib-2.0\include&quot;;&quot;d:\lng\gtk\lib\gtk-2.0\include&quot;;D:\LNG\x11inc"
+ AdditionalIncludeDirectories="..\include;..\src;..\src\drv;..\src\freetype2;..\src\intcgm;..\src\iup;..\src\sim;&quot;d:\lng\gtk\include\atk-1.0&quot;;d:\lng\gtk\include\cairo;&quot;d:\lng\gtk\include\glib-2.0&quot;;&quot;d:\lng\gtk\include\pango-1.0&quot;;&quot;d:\lng\gtk\include\gdk-pixbuf-2.0&quot;;&quot;d:\lng\gtk\include\gtk-2.0&quot;;&quot;d:\lng\gtk\lib\glib-2.0\include&quot;;&quot;d:\lng\gtk\lib\gtk-2.0\include&quot;;D:\LNG\x11inc"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;CD_NO_OLD_INTERFACE;FT2_BUILD_LIBRARY;_CRT_SECURE_NO_DEPRECATE"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
diff --git a/src/cairo/cdcairodbuf.c b/src/cairo/cdcairodbuf.c
index 91f1649..845a24b 100644
--- a/src/cairo/cdcairodbuf.c
+++ b/src/cairo/cdcairodbuf.c
@@ -137,7 +137,8 @@ static void cdinittable(cdCanvas* canvas)
static cdContext cdDBufferContext =
{
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_YAXIS | CD_CAP_REGION | CD_CAP_WRITEMODE | CD_CAP_PALETTE ),
- 0,
+ 1,
+ CD_CTX_IMAGE,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/cairo/cdcairoemf.c b/src/cairo/cdcairoemf.c
index 979caa7..f83ae11 100644
--- a/src/cairo/cdcairoemf.c
+++ b/src/cairo/cdcairoemf.c
@@ -108,7 +108,8 @@ static cdContext cdEMFCairoContext =
{
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_YAXIS | CD_CAP_REGION | CD_CAP_GETIMAGERGB |
CD_CAP_WRITEMODE | CD_CAP_PALETTE | CD_CAP_IMAGESRV),
- 0,
+ 1,
+ CD_CTX_FILE,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/cairo/cdcairoimg.c b/src/cairo/cdcairoimg.c
index bc39129..3786de1 100644
--- a/src/cairo/cdcairoimg.c
+++ b/src/cairo/cdcairoimg.c
@@ -38,7 +38,8 @@ static void cdinittable(cdCanvas* canvas)
static cdContext cdImageContext =
{
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_YAXIS | CD_CAP_REGION | CD_CAP_WRITEMODE | CD_CAP_PALETTE ),
- 0,
+ 1,
+ CD_CTX_IMAGE,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/cairo/cdcairoirgb.c b/src/cairo/cdcairoirgb.c
index b326834..21ff6c5 100644
--- a/src/cairo/cdcairoirgb.c
+++ b/src/cairo/cdcairoirgb.c
@@ -146,7 +146,8 @@ static void cdinittable(cdCanvas* canvas)
static cdContext cdCairoImageRGBContext =
{
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_YAXIS | CD_CAP_REGION | CD_CAP_WRITEMODE | CD_CAP_PALETTE),
- 0,
+ 0, /* not a plus driver */
+ CD_CTX_IMAGE,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/cairo/cdcaironative_gdk.c b/src/cairo/cdcaironative_gdk.c
index 143efaf..1e177a4 100644
--- a/src/cairo/cdcaironative_gdk.c
+++ b/src/cairo/cdcaironative_gdk.c
@@ -96,6 +96,7 @@ static cdContext cdNativeWindowContext =
{
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_YAXIS | CD_CAP_REGION | CD_CAP_WRITEMODE | CD_CAP_PALETTE),
1,
+ CD_CTX_WINDOW,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/cairo/cdcaironative_win32.c b/src/cairo/cdcaironative_win32.c
index e0b860e..3cc1972 100644
--- a/src/cairo/cdcaironative_win32.c
+++ b/src/cairo/cdcaironative_win32.c
@@ -145,6 +145,7 @@ static cdContext cdNativeWindowContext =
{
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_YAXIS | CD_CAP_REGION | CD_CAP_WRITEMODE | CD_CAP_PALETTE),
1,
+ CD_CTX_WINDOW,
cdcreatecanvas,
cdinittable,
NULL,
@@ -156,5 +157,3 @@ cdContext* cdContextCairoNativeWindow(void)
{
return &cdNativeWindowContext;
}
-
-// cairo_win32_printing_surface_create CD_PRINTER
diff --git a/src/cairo/cdcaironative_x11.c b/src/cairo/cdcaironative_x11.c
index 1030745..ae08420 100644
--- a/src/cairo/cdcaironative_x11.c
+++ b/src/cairo/cdcaironative_x11.c
@@ -85,6 +85,7 @@ static cdContext cdNativeWindowContext =
{
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_YAXIS | CD_CAP_REGION | CD_CAP_WRITEMODE | CD_CAP_PALETTE ),
1,
+ CD_CTX_WINDOW,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/cairo/cdcairopdf.c b/src/cairo/cdcairopdf.c
index f17fff4..980da72 100644
--- a/src/cairo/cdcairopdf.c
+++ b/src/cairo/cdcairopdf.c
@@ -109,7 +109,8 @@ static void cdinittable(cdCanvas* canvas)
static cdContext cdCairoPDFContext =
{
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_YAXIS | CD_CAP_REGION | CD_CAP_WRITEMODE | CD_CAP_PALETTE),
- 0,
+ 0, /* not a plus driver */
+ CD_CTX_FILE,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/cairo/cdcairoplus.c b/src/cairo/cdcairoplus.c
index a46d9f3..d37efa7 100644
--- a/src/cairo/cdcairoplus.c
+++ b/src/cairo/cdcairoplus.c
@@ -16,14 +16,14 @@ void cdInitContextPlus(void)
cdContext* ctx_list[NUM_CONTEXTPLUS];
memset(ctx_list, 0, sizeof(ctx_list));
- ctx_list[CD_CTX_NATIVEWINDOW] = cdContextCairoNativeWindow();
- ctx_list[CD_CTX_IMAGE] = cdContextCairoImage();
- ctx_list[CD_CTX_DBUFFER] = cdContextCairoDBuffer();
+ ctx_list[CD_CTXPLUS_NATIVEWINDOW] = cdContextCairoNativeWindow();
+ ctx_list[CD_CTXPLUS_IMAGE] = cdContextCairoImage();
+ ctx_list[CD_CTXPLUS_DBUFFER] = cdContextCairoDBuffer();
#ifndef CAIRO_X11
- ctx_list[CD_CTX_PRINTER] = cdContextCairoPrinter();
+ ctx_list[CD_CTXPLUS_PRINTER] = cdContextCairoPrinter();
#endif
#ifdef WIN32
- ctx_list[CD_CTX_EMF] = cdContextCairoEMF();
+ ctx_list[CD_CTXPLUS_EMF] = cdContextCairoEMF();
#endif
cdInitContextPlusList(ctx_list);
diff --git a/src/cairo/cdcairoprn_unix.c b/src/cairo/cdcairoprn_unix.c
index 67fad83..0c4544c 100644
--- a/src/cairo/cdcairoprn_unix.c
+++ b/src/cairo/cdcairoprn_unix.c
@@ -194,7 +194,8 @@ static cdContext cdPrinterCairoContext =
{
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_YAXIS | CD_CAP_REGION | CD_CAP_GETIMAGERGB |
CD_CAP_WRITEMODE | CD_CAP_PALETTE | CD_CAP_IMAGESRV),
- 0,
+ 1,
+ CD_CTX_DEVICE,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/cairo/cdcairoprn_win32.c b/src/cairo/cdcairoprn_win32.c
index cbf4d66..a5fadbd 100644
--- a/src/cairo/cdcairoprn_win32.c
+++ b/src/cairo/cdcairoprn_win32.c
@@ -181,7 +181,8 @@ static cdContext cdPrinterCairoContext =
{
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_YAXIS | CD_CAP_REGION | CD_CAP_GETIMAGERGB |
CD_CAP_WRITEMODE | CD_CAP_PALETTE | CD_CAP_IMAGESRV),
- 0,
+ 1,
+ CD_CTX_DEVICE,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/cairo/cdcairops.c b/src/cairo/cdcairops.c
index 78cd3db..8880255 100644
--- a/src/cairo/cdcairops.c
+++ b/src/cairo/cdcairops.c
@@ -158,7 +158,8 @@ static void cdinittable(cdCanvas* canvas)
static cdContext cdCairoPSContext =
{
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_YAXIS | CD_CAP_REGION | CD_CAP_WRITEMODE | CD_CAP_PALETTE),
- 0,
+ 0, /* not a plus driver */
+ CD_CTX_FILE,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/cairo/cdcairosvg.c b/src/cairo/cdcairosvg.c
index d97cb24..116d39d 100644
--- a/src/cairo/cdcairosvg.c
+++ b/src/cairo/cdcairosvg.c
@@ -70,7 +70,8 @@ static void cdinittable(cdCanvas* canvas)
static cdContext cdCairoSVGContext =
{
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_YAXIS | CD_CAP_REGION | CD_CAP_WRITEMODE | CD_CAP_PALETTE),
- 0,
+ 0, /* not a plus driver */
+ CD_CTX_FILE,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/cd.c b/src/cd.c
index 3816731..4553575 100644
--- a/src/cd.c
+++ b/src/cd.c
@@ -264,6 +264,20 @@ unsigned long cdContextCaps(cdContext *context)
return context->caps;
}
+int cdContextIsPlus(cdContext *context)
+{
+ if (!context)
+ return (unsigned long)CD_ERROR;
+ return context->plus;
+}
+
+int cdContextType(cdContext *context)
+{
+ if (!context)
+ return (unsigned long)CD_ERROR;
+ return context->type;
+}
+
int cdCanvasSimulate(cdCanvas* canvas, int mode)
{
int sim_mode;
diff --git a/src/cd.def b/src/cd.def
index 038185a..e4c4097 100644
--- a/src/cd.def
+++ b/src/cd.def
@@ -38,6 +38,8 @@ EXPORTS
cdKillCanvas
cdGetContext
cdContextCaps
+ cdContextIsPlus
+ cdContextType
cdActivate
cdActiveCanvas
cdSimulate
diff --git a/src/cdgdk.def b/src/cdgdk.def
index 6489315..a338ee3 100644
--- a/src/cdgdk.def
+++ b/src/cdgdk.def
@@ -38,6 +38,8 @@ EXPORTS
cdKillCanvas
cdGetContext
cdContextCaps
+ cdContextIsPlus
+ cdContextType
cdActivate
cdActiveCanvas
cdSimulate
diff --git a/src/drv/cd0emf.c b/src/drv/cd0emf.c
index 7e05134..920d7ee 100644
--- a/src/drv/cd0emf.c
+++ b/src/drv/cd0emf.c
@@ -14,7 +14,7 @@ cdContext* cdContextEMF(void)
{
if (cdUseContextPlus(CD_QUERY))
{
- cdContext* ctx = cdGetContextPlus(CD_CTX_EMF);
+ cdContext* ctx = cdGetContextPlus(CD_CTXPLUS_EMF);
if (ctx != NULL)
return ctx;
}
diff --git a/src/drv/cd0prn.c b/src/drv/cd0prn.c
index fa313d8..0293bb4 100644
--- a/src/drv/cd0prn.c
+++ b/src/drv/cd0prn.c
@@ -15,7 +15,7 @@ cdContext* cdContextPrinter(void)
{
if (cdUseContextPlus(CD_QUERY))
{
- cdContext* ctx = cdGetContextPlus(CD_CTX_PRINTER);
+ cdContext* ctx = cdGetContextPlus(CD_CTXPLUS_PRINTER);
if (ctx != NULL)
return ctx;
}
diff --git a/src/drv/cdcgm.c b/src/drv/cdcgm.c
index 28624d0..17a1239 100644
--- a/src/drv/cdcgm.c
+++ b/src/drv/cdcgm.c
@@ -1136,6 +1136,7 @@ static cdContext cdCGMContext =
CD_CAP_IMAGERGBA | CD_CAP_GETIMAGERGB |
CD_CAP_TEXTORIENTATION | CD_CAP_PATH | CD_CAP_BEZIER),
0,
+ CD_CTX_FILE,
cdcreatecanvas,
cdinittable,
cdplayCGM,
diff --git a/src/drv/cddebug.c b/src/drv/cddebug.c
index bd91209..3550fc6 100644
--- a/src/drv/cddebug.c
+++ b/src/drv/cddebug.c
@@ -821,6 +821,7 @@ static cdContext cdDebugContext =
{
CD_CAP_ALL,
0,
+ CD_CTX_FILE,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/drv/cddgn.c b/src/drv/cddgn.c
index e0c497b..505526a 100644
--- a/src/drv/cddgn.c
+++ b/src/drv/cddgn.c
@@ -1688,6 +1688,7 @@ static cdContext cdDGNContext =
CD_CAP_IMAGERGBA | CD_CAP_GETIMAGERGB |
CD_CAP_FPRIMTIVES | CD_CAP_TEXTORIENTATION),
0,
+ CD_CTX_FILE,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/drv/cddxf.c b/src/drv/cddxf.c
index c5d0df5..bdb77a4 100644
--- a/src/drv/cddxf.c
+++ b/src/drv/cddxf.c
@@ -1364,6 +1364,7 @@ static cdContext cdDXFContext =
CD_CAP_HATCH | CD_CAP_STIPPLE | CD_CAP_PATTERN |
CD_CAP_IMAGERGBA | CD_CAP_GETIMAGERGB),
0,
+ CD_CTX_FILE,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/drv/cdgl.c b/src/drv/cdgl.c
index fb1739d..120e4bc 100644
--- a/src/drv/cdgl.c
+++ b/src/drv/cdgl.c
@@ -1548,6 +1548,7 @@ static cdContext cdGLContext =
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_PALETTE | CD_CAP_LINEJOIN | CD_CAP_LINECAP |
CD_CAP_REGION | CD_CAP_STIPPLE | CD_CAP_PATTERN),
0,
+ CD_CTX_WINDOW,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/drv/cdirgb.c b/src/drv/cdirgb.c
index fa45f97..5b72dc6 100644
--- a/src/drv/cdirgb.c
+++ b/src/drv/cdirgb.c
@@ -1879,6 +1879,7 @@ static cdContext cdImageRGBContext =
CD_CAP_LINECAP | CD_CAP_LINEJOIN |
CD_CAP_PALETTE ),
0,
+ CD_CTX_IMAGE,
cdcreatecanvas,
cdinittable,
NULL,
@@ -1975,6 +1976,7 @@ static cdContext cdDBufferRGBContext =
CD_CAP_LINECAP | CD_CAP_LINEJOIN |
CD_CAP_PALETTE ),
0,
+ CD_CTX_IMAGE,
cdcreatecanvasDB,
cdinittableDB,
NULL,
diff --git a/src/drv/cdmf.c b/src/drv/cdmf.c
index ddb109c..ecbdf8c 100644
--- a/src/drv/cdmf.c
+++ b/src/drv/cdmf.c
@@ -1263,6 +1263,7 @@ static cdContext cdMetafileContext =
CD_CAP_ALL & ~(CD_CAP_GETIMAGERGB | CD_CAP_IMAGESRV |
CD_CAP_REGION | CD_CAP_FONTDIM | CD_CAP_TEXTSIZE),
0,
+ CD_CTX_FILE,
cdcreatecanvasMF,
cdinittableMF,
cdplay,
diff --git a/src/drv/cdpdf.c b/src/drv/cdpdf.c
index 3211cba..f7f3b36 100644
--- a/src/drv/cdpdf.c
+++ b/src/drv/cdpdf.c
@@ -1734,6 +1734,7 @@ static cdContext cdPDFContext =
CD_CAP_REGION | CD_CAP_IMAGESRV | CD_CAP_TEXTSIZE |
CD_CAP_WRITEMODE | CD_CAP_GETIMAGERGB),
0,
+ CD_CTX_FILE,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/drv/cdpicture.c b/src/drv/cdpicture.c
index 8cd586e..85bb84a 100644
--- a/src/drv/cdpicture.c
+++ b/src/drv/cdpicture.c
@@ -1397,6 +1397,7 @@ static cdContext cdPictureContext =
CD_CAP_ALL & ~(CD_CAP_GETIMAGERGB | CD_CAP_IMAGESRV |
CD_CAP_REGION | CD_CAP_FONTDIM | CD_CAP_TEXTSIZE),
0,
+ CD_CTX_DEVICE,
cdcreatecanvas,
cdinittable,
cdplay,
diff --git a/src/drv/cdps.c b/src/drv/cdps.c
index 0db3590..abd7359 100644
--- a/src/drv/cdps.c
+++ b/src/drv/cdps.c
@@ -2128,6 +2128,7 @@ static cdContext cdPSContext =
CD_CAP_FONTDIM | CD_CAP_TEXTSIZE |
CD_CAP_IMAGERGBA | CD_CAP_GETIMAGERGB),
0,
+ CD_CTX_FILE,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/gdiplus/cdwclpp.cpp b/src/gdiplus/cdwclpp.cpp
index 2d1c7e6..9fa2c4c 100644
--- a/src/gdiplus/cdwclpp.cpp
+++ b/src/gdiplus/cdwclpp.cpp
@@ -189,6 +189,7 @@ static cdContext cdClipboardContext =
CD_CAP_ALL & ~(CD_CAP_CLEAR | CD_CAP_FLUSH | CD_CAP_YAXIS | CD_CAP_PLAY |
CD_CAP_IMAGERGBA | CD_CAP_GETIMAGERGB | CD_CAP_IMAGESRV ),
1,
+ CD_CTX_DEVICE,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/gdiplus/cdwdbufp.cpp b/src/gdiplus/cdwdbufp.cpp
index 68bc7b8..df81265 100644
--- a/src/gdiplus/cdwdbufp.cpp
+++ b/src/gdiplus/cdwdbufp.cpp
@@ -149,6 +149,7 @@ static cdContext cdDBufferContext =
{
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_YAXIS ),
1,
+ CD_CTX_IMAGE,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/gdiplus/cdwemfp.cpp b/src/gdiplus/cdwemfp.cpp
index 23ae02d..b19f4cb 100644
--- a/src/gdiplus/cdwemfp.cpp
+++ b/src/gdiplus/cdwemfp.cpp
@@ -88,6 +88,7 @@ static cdContext cdEMFContext =
CD_CAP_ALL & ~(CD_CAP_CLEAR | CD_CAP_PLAY | CD_CAP_FLUSH | CD_CAP_YAXIS |
CD_CAP_GETIMAGERGB | CD_CAP_IMAGESRV),
1,
+ CD_CTX_FILE,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/gdiplus/cdwgdiplus.c b/src/gdiplus/cdwgdiplus.c
index a6862bc..4997d3c 100644
--- a/src/gdiplus/cdwgdiplus.c
+++ b/src/gdiplus/cdwgdiplus.c
@@ -28,12 +28,12 @@ void cdInitContextPlus(void)
cdContext* ctx_list[NUM_CONTEXTPLUS];
memset(ctx_list, 0, sizeof(ctx_list));
- ctx_list[CD_CTX_NATIVEWINDOW] = cdContextNativeWindowPlus();
- ctx_list[CD_CTX_IMAGE] = cdContextImagePlus();
- ctx_list[CD_CTX_DBUFFER] = cdContextDBufferPlus();
- ctx_list[CD_CTX_PRINTER] = cdContextPrinterPlus();
- ctx_list[CD_CTX_EMF] = cdContextEMFPlus();
- ctx_list[CD_CTX_CLIPBOARD] = cdContextClipboardPlus();
+ ctx_list[CD_CTXPLUS_NATIVEWINDOW] = cdContextNativeWindowPlus();
+ ctx_list[CD_CTXPLUS_IMAGE] = cdContextImagePlus();
+ ctx_list[CD_CTXPLUS_DBUFFER] = cdContextDBufferPlus();
+ ctx_list[CD_CTXPLUS_PRINTER] = cdContextPrinterPlus();
+ ctx_list[CD_CTXPLUS_EMF] = cdContextEMFPlus();
+ ctx_list[CD_CTXPLUS_CLIPBOARD] = cdContextClipboardPlus();
cdInitContextPlusList(ctx_list);
diff --git a/src/gdiplus/cdwimgp.cpp b/src/gdiplus/cdwimgp.cpp
index 5dd8b96..9b45edb 100644
--- a/src/gdiplus/cdwimgp.cpp
+++ b/src/gdiplus/cdwimgp.cpp
@@ -50,6 +50,7 @@ static cdContext cdImageContext =
{
CD_CAP_ALL & ~(CD_CAP_FLUSH | CD_CAP_PLAY | CD_CAP_YAXIS ),
1,
+ CD_CTX_IMAGE,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/gdiplus/cdwnativep.cpp b/src/gdiplus/cdwnativep.cpp
index 80209af..4fdc19a 100644
--- a/src/gdiplus/cdwnativep.cpp
+++ b/src/gdiplus/cdwnativep.cpp
@@ -123,6 +123,7 @@ static cdContext cdNativeContext =
{
CD_CAP_ALL & ~(CD_CAP_FLUSH | CD_CAP_PLAY | CD_CAP_YAXIS ),
1,
+ CD_CTX_WINDOW,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/gdiplus/cdwprnp.cpp b/src/gdiplus/cdwprnp.cpp
index 2eed9d9..df62ca5 100644
--- a/src/gdiplus/cdwprnp.cpp
+++ b/src/gdiplus/cdwprnp.cpp
@@ -142,6 +142,7 @@ static cdContext cdPrinterContext =
CD_CAP_ALL & ~(CD_CAP_CLEAR | CD_CAP_PLAY | CD_CAP_YAXIS |
CD_CAP_GETIMAGERGB | CD_CAP_IMAGESRV),
1,
+ CD_CTX_DEVICE,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/gdk/cdgdkclp.c b/src/gdk/cdgdkclp.c
index c6557b9..e861b5e 100644
--- a/src/gdk/cdgdkclp.c
+++ b/src/gdk/cdgdkclp.c
@@ -122,6 +122,7 @@ static cdContext cdClipboardContext =
{
CD_CAP_ALL & ~(CD_CAP_GETIMAGERGB | CD_CAP_IMAGESRV | CD_CAP_FONTDIM | CD_CAP_TEXTSIZE ), /* same as CD_MF */
0,
+ CD_CTX_DEVICE,
cdcreatecanvas,
cdinittable,
cdplay,
diff --git a/src/gdk/cdgdkdbuf.c b/src/gdk/cdgdkdbuf.c
index 50a93a5..3df8ec3 100644
--- a/src/gdk/cdgdkdbuf.c
+++ b/src/gdk/cdgdkdbuf.c
@@ -129,6 +129,7 @@ static cdContext cdDBufferContext =
{
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_YAXIS | CD_CAP_PATH | CD_CAP_BEZIER | CD_CAP_FPRIMTIVES ),
0,
+ CD_CTX_IMAGE,
cdcreatecanvas,
cdinittable,
NULL,
@@ -139,7 +140,7 @@ cdContext* cdContextDBuffer(void)
{
if (cdUseContextPlus(CD_QUERY))
{
- cdContext* ctx = cdGetContextPlus(CD_CTX_DBUFFER);
+ cdContext* ctx = cdGetContextPlus(CD_CTXPLUS_DBUFFER);
if (ctx != NULL)
return ctx;
}
diff --git a/src/gdk/cdgdkimg.c b/src/gdk/cdgdkimg.c
index 4b4475b..aab9a1b 100644
--- a/src/gdk/cdgdkimg.c
+++ b/src/gdk/cdgdkimg.c
@@ -32,6 +32,7 @@ static cdContext cdImageContext =
{
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_YAXIS | CD_CAP_FPRIMTIVES | CD_CAP_PATH | CD_CAP_BEZIER ),
0,
+ CD_CTX_IMAGE,
cdcreatecanvas,
cdinittable,
NULL,
@@ -43,7 +44,7 @@ cdContext* cdContextImage(void)
{
if (cdUseContextPlus(CD_QUERY))
{
- cdContext* ctx = cdGetContextPlus(CD_CTX_IMAGE);
+ cdContext* ctx = cdGetContextPlus(CD_CTXPLUS_IMAGE);
if (ctx != NULL)
return ctx;
}
diff --git a/src/gdk/cdgdknative.c b/src/gdk/cdgdknative.c
index 8865d7e..8e66dbe 100644
--- a/src/gdk/cdgdknative.c
+++ b/src/gdk/cdgdknative.c
@@ -96,7 +96,8 @@ static void cdinittable(cdCanvas* canvas)
static cdContext cdNativeWindowContext =
{
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_YAXIS | CD_CAP_FPRIMTIVES | CD_CAP_PATH | CD_CAP_BEZIER ),
- 1,
+ 0,
+ CD_CTX_WINDOW,
cdcreatecanvas,
cdinittable,
NULL,
@@ -108,7 +109,7 @@ cdContext* cdContextNativeWindow(void)
{
if (cdUseContextPlus(CD_QUERY))
{
- cdContext* ctx = cdGetContextPlus(CD_CTX_NATIVEWINDOW);
+ cdContext* ctx = cdGetContextPlus(CD_CTXPLUS_NATIVEWINDOW);
if (ctx != NULL)
return ctx;
}
diff --git a/src/lua5/cdlua5.c b/src/lua5/cdlua5.c
index 024ed6b..6eb1769 100644
--- a/src/lua5/cdlua5.c
+++ b/src/lua5/cdlua5.c
@@ -335,7 +335,21 @@ void cdlua_pushbitmap(lua_State* L, cdBitmap* bitmap)
static int cdlua5_contextcaps(lua_State * L)
{
cdluaContext* cdlua_ctx = cdlua_getcontext(L, 1);
- lua_pushnumber(L, cdContextCaps(cdlua_ctx->ctx()));
+ lua_pushinteger(L, cdContextCaps(cdlua_ctx->ctx()));
+ return 1;
+}
+
+static int cdlua5_contexttype(lua_State * L)
+{
+ cdluaContext* cdlua_ctx = cdlua_getcontext(L, 1);
+ lua_pushinteger(L, cdContextType(cdlua_ctx->ctx()));
+ return 1;
+}
+
+static int cdlua5_contextisplus(lua_State * L)
+{
+ cdluaContext* cdlua_ctx = cdlua_getcontext(L, 1);
+ lua_pushboolean(L, cdContextIsPlus(cdlua_ctx->ctx()));
return 1;
}
@@ -1315,6 +1329,8 @@ static const struct luaL_reg cdlib[] = {
/* Initialization */
{"ContextCaps" , cdlua5_contextcaps},
+ {"ContextType" , cdlua5_contexttype},
+ {"ContextIsPlus" , cdlua5_contextisplus},
/* Control */
{"ReleaseState" , cdlua5_releasestate},
@@ -1553,38 +1569,45 @@ static const struct cdlua5_constant cdlibconstant[] = {
{"LARGE" , CD_LARGE},
/* Canvas Capabilities */
- {"CAP_NONE" , CD_CAP_NONE},
- {"CAP_FLUSH" , CD_CAP_FLUSH},
- {"CAP_CLEAR" , CD_CAP_CLEAR},
- {"CAP_PLAY" , CD_CAP_PLAY},
- {"CAP_YAXIS" , CD_CAP_YAXIS},
- {"CAP_CLIPAREA" , CD_CAP_CLIPAREA},
- {"CAP_CLIPPOLY" , CD_CAP_CLIPPOLY},
- {"CAP_RECT" , CD_CAP_RECT},
- {"CAP_IMAGERGB" , CD_CAP_IMAGERGB},
- {"CAP_IMAGERGBA" , CD_CAP_IMAGERGBA},
- {"CAP_IMAGEMAP" , CD_CAP_IMAGEMAP},
- {"CAP_GETIMAGERGB" , CD_CAP_GETIMAGERGB},
- {"CAP_IMAGESRV" , CD_CAP_IMAGESRV},
- {"CAP_BACKGROUND" , CD_CAP_BACKGROUND},
- {"CAP_BACKOPACITY" , CD_CAP_BACKOPACITY},
- {"CAP_WRITEMODE" , CD_CAP_WRITEMODE},
- {"CAP_LINESTYLE" , CD_CAP_LINESTYLE},
- {"CAP_LINEWITH" , CD_CAP_LINEWITH},
- {"CAP_WD" , CD_CAP_FPRIMTIVES},
- {"CAP_HATCH" , CD_CAP_HATCH},
- {"CAP_STIPPLE" , CD_CAP_STIPPLE},
- {"CAP_PATTERN" , CD_CAP_PATTERN},
- {"CAP_FONT" , CD_CAP_FONT},
- {"CAP_FONTDIM" , CD_CAP_FONTDIM},
- {"CAP_TEXTSIZE" , CD_CAP_TEXTSIZE},
- {"CAP_TEXTORIENTATION", CD_CAP_TEXTORIENTATION},
- {"CAP_PALETTE" , CD_CAP_PALETTE},
- {"CAP_LINECAP" , CD_CAP_LINECAP},
- {"CAP_LINEJOIN" , CD_CAP_LINEJOIN},
- {"CAP_REGION" , CD_CAP_REGION},
+ {"CAP_NONE" , CD_CAP_NONE},
+ {"CAP_FLUSH" , CD_CAP_FLUSH},
+ {"CAP_CLEAR" , CD_CAP_CLEAR},
+ {"CAP_PLAY" , CD_CAP_PLAY},
+ {"CAP_YAXIS" , CD_CAP_YAXIS},
+ {"CAP_CLIPAREA" , CD_CAP_CLIPAREA},
+ {"CAP_CLIPPOLY" , CD_CAP_CLIPPOLY},
+ {"CAP_REGION" , CD_CAP_REGION},
+ {"CAP_RECT" , CD_CAP_RECT},
{"CAP_CHORD" , CD_CAP_CHORD},
- {"CAP_ALL" , CD_CAP_ALL},
+ {"CAP_IMAGERGB" , CD_CAP_IMAGERGB},
+ {"CAP_IMAGERGBA" , CD_CAP_IMAGERGBA},
+ {"CAP_IMAGEMAP" , CD_CAP_IMAGEMAP},
+ {"CAP_GETIMAGERGB" , CD_CAP_GETIMAGERGB},
+ {"CAP_IMAGESRV" , CD_CAP_IMAGESRV},
+ {"CAP_BACKGROUND" , CD_CAP_BACKGROUND},
+ {"CAP_BACKOPACITY" , CD_CAP_BACKOPACITY},
+ {"CAP_WRITEMODE" , CD_CAP_WRITEMODE},
+ {"CAP_LINESTYLE" , CD_CAP_LINESTYLE},
+ {"CAP_LINEWITH" , CD_CAP_LINEWITH},
+ {"CAP_WD" , CD_CAP_FPRIMTIVES},
+ {"CAP_HATCH" , CD_CAP_HATCH},
+ {"CAP_STIPPLE" , CD_CAP_STIPPLE},
+ {"CAP_PATTERN" , CD_CAP_PATTERN},
+ {"CAP_FONT" , CD_CAP_FONT},
+ {"CAP_FONTDIM" , CD_CAP_FONTDIM},
+ {"CAP_TEXTSIZE" , CD_CAP_TEXTSIZE},
+ {"CAP_TEXTORIENTATION", CD_CAP_TEXTORIENTATION},
+ {"CAP_PALETTE" , CD_CAP_PALETTE},
+ {"CAP_LINECAP" , CD_CAP_LINECAP},
+ {"CAP_LINEJOIN" , CD_CAP_LINEJOIN},
+ {"CAP_PATH" , CD_CAP_PATH},
+ {"CAP_BEZIER" , CD_CAP_BEZIER},
+ {"CAP_ALL" , CD_CAP_ALL},
+
+ {"CTX_WINDOW" , CD_CTX_WINDOW},
+ {"CTX_DEVICE" , CD_CTX_DEVICE},
+ {"CTX_IMAGE" , CD_CTX_IMAGE},
+ {"CTX_FILE" , CD_CTX_FILE},
/* cdPlay definitions */
{"SIZECB", CD_SIZECB},
diff --git a/src/lua5/cdvoid5.c b/src/lua5/cdvoid5.c
index 67c2c99..ebc965c 100644
--- a/src/lua5/cdvoid5.c
+++ b/src/lua5/cdvoid5.c
@@ -117,6 +117,7 @@ static cdContext cdVoidContext =
{
0,
0,
+ 0,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/svg/cdsvg.c b/src/svg/cdsvg.c
index bfde533..64d6be7 100644
--- a/src/svg/cdsvg.c
+++ b/src/svg/cdsvg.c
@@ -1343,6 +1343,7 @@ static cdContext cdSVGContext =
CD_CAP_FONTDIM | CD_CAP_TEXTSIZE |
CD_CAP_GETIMAGERGB),
0,
+ CD_CTX_FILE,
cdcreatecanvas,
cdinittable,
NULL,
diff --git a/src/win32/cdwclp.c b/src/win32/cdwclp.c
index 60c29e0..3c31569 100644
--- a/src/win32/cdwclp.c
+++ b/src/win32/cdwclp.c
@@ -531,6 +531,7 @@ static cdContext cdClipboardContext =
CD_CAP_IMAGERGBA | CD_CAP_GETIMAGERGB | CD_CAP_IMAGESRV |
CD_CAP_FPRIMTIVES ),
0,
+ CD_CTX_DEVICE,
cdcreatecanvas,
cdinittable,
cdplay,
@@ -541,7 +542,7 @@ cdContext* cdContextClipboard(void)
{
if (cdUseContextPlus(CD_QUERY))
{
- cdContext* ctx = cdGetContextPlus(CD_CTX_CLIPBOARD);
+ cdContext* ctx = cdGetContextPlus(CD_CTXPLUS_CLIPBOARD);
if (ctx != NULL)
return ctx;
}
diff --git a/src/win32/cdwdbuf.c b/src/win32/cdwdbuf.c
index 9d79e9b..54dbf16 100644
--- a/src/win32/cdwdbuf.c
+++ b/src/win32/cdwdbuf.c
@@ -142,6 +142,7 @@ static cdContext cdDBufferContext =
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_YAXIS |
CD_CAP_FPRIMTIVES ),
0,
+ CD_CTX_IMAGE,
cdcreatecanvas,
cdinittable,
NULL,
@@ -152,7 +153,7 @@ cdContext* cdContextDBuffer(void)
{
if (cdUseContextPlus(CD_QUERY))
{
- cdContext* ctx = cdGetContextPlus(CD_CTX_DBUFFER);
+ cdContext* ctx = cdGetContextPlus(CD_CTXPLUS_DBUFFER);
if (ctx != NULL)
return ctx;
}
diff --git a/src/win32/cdwemf.c b/src/win32/cdwemf.c
index ad037c9..3932c36 100644
--- a/src/win32/cdwemf.c
+++ b/src/win32/cdwemf.c
@@ -98,6 +98,7 @@ static cdContext cdEMFContext =
CD_CAP_IMAGERGBA | CD_CAP_GETIMAGERGB | CD_CAP_IMAGESRV |
CD_CAP_FPRIMTIVES ),
0,
+ CD_CTX_FILE,
cdcreatecanvas,
cdinittable,
cdplayEMF,
@@ -108,7 +109,7 @@ cdContext* cdContextEMF(void)
{
if (cdUseContextPlus(CD_QUERY))
{
- cdContext* ctx = cdGetContextPlus(CD_CTX_EMF);
+ cdContext* ctx = cdGetContextPlus(CD_CTXPLUS_EMF);
if (ctx != NULL)
return ctx;
}
diff --git a/src/win32/cdwimg.c b/src/win32/cdwimg.c
index 47d99f9..294a8d7 100644
--- a/src/win32/cdwimg.c
+++ b/src/win32/cdwimg.c
@@ -64,6 +64,7 @@ static cdContext cdImageContext =
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_YAXIS |
CD_CAP_FPRIMTIVES ),
0,
+ CD_CTX_IMAGE,
cdcreatecanvas,
cdinittable,
NULL,
@@ -74,7 +75,7 @@ cdContext* cdContextImage(void)
{
if (cdUseContextPlus(CD_QUERY))
{
- cdContext* ctx = cdGetContextPlus(CD_CTX_IMAGE);
+ cdContext* ctx = cdGetContextPlus(CD_CTXPLUS_IMAGE);
if (ctx != NULL)
return ctx;
}
diff --git a/src/win32/cdwnative.c b/src/win32/cdwnative.c
index 3534c6e..bd9d4dd 100644
--- a/src/win32/cdwnative.c
+++ b/src/win32/cdwnative.c
@@ -186,6 +186,7 @@ static cdContext cdNativeContext =
{
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_YAXIS | CD_CAP_FPRIMTIVES ),
0,
+ CD_CTX_WINDOW,
cdcreatecanvas,
cdinittable,
NULL,
@@ -196,7 +197,7 @@ cdContext* cdContextNativeWindow(void)
{
if (cdUseContextPlus(CD_QUERY))
{
- cdContext* ctx = cdGetContextPlus(CD_CTX_NATIVEWINDOW);
+ cdContext* ctx = cdGetContextPlus(CD_CTXPLUS_NATIVEWINDOW);
if (ctx != NULL)
return ctx;
}
diff --git a/src/win32/cdwprn.c b/src/win32/cdwprn.c
index 1b3e1e0..1ffcd03 100644
--- a/src/win32/cdwprn.c
+++ b/src/win32/cdwprn.c
@@ -186,6 +186,7 @@ static cdContext cdPrinterContext =
CD_CAP_IMAGERGBA | CD_CAP_GETIMAGERGB | CD_CAP_IMAGESRV |
CD_CAP_FPRIMTIVES ),
0,
+ CD_CTX_DEVICE,
cdcreatecanvas,
cdinittable,
NULL,
@@ -196,7 +197,7 @@ cdContext* cdContextPrinter(void)
{
if (cdUseContextPlus(CD_QUERY))
{
- cdContext* ctx = cdGetContextPlus(CD_CTX_PRINTER);
+ cdContext* ctx = cdGetContextPlus(CD_CTXPLUS_PRINTER);
if (ctx != NULL)
return ctx;
}
diff --git a/src/win32/cdwwmf.c b/src/win32/cdwwmf.c
index 0571c9f..26d8fa9 100644
--- a/src/win32/cdwwmf.c
+++ b/src/win32/cdwwmf.c
@@ -97,6 +97,7 @@ static cdContext cdWMFContext =
CD_CAP_LINECAP | CD_CAP_LINEJOIN |
CD_CAP_FPRIMTIVES ),
0,
+ CD_CTX_FILE,
cdcreatecanvas,
cdinittable,
cdplayWMF,
diff --git a/src/x11/cdxclp.c b/src/x11/cdxclp.c
index 9363491..ed3b0db 100644
--- a/src/x11/cdxclp.c
+++ b/src/x11/cdxclp.c
@@ -125,6 +125,7 @@ static cdContext cdClipboardContext =
{
CD_CAP_ALL & ~(CD_CAP_GETIMAGERGB | CD_CAP_IMAGESRV | CD_CAP_FONTDIM | CD_CAP_TEXTSIZE ), /* same as CD_MF */
0,
+ CD_CTX_DEVICE,
cdcreatecanvas,
cdinittable,
cdplay,
diff --git a/src/x11/cdxdbuf.c b/src/x11/cdxdbuf.c
index 29d1e4e..7d29467 100644
--- a/src/x11/cdxdbuf.c
+++ b/src/x11/cdxdbuf.c
@@ -128,6 +128,7 @@ static cdContext cdDBufferContext =
{
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_YAXIS | CD_CAP_FPRIMTIVES | CD_CAP_PATH | CD_CAP_BEZIER ),
0,
+ CD_CTX_IMAGE,
cdcreatecanvas,
cdinittable,
NULL,
@@ -138,7 +139,7 @@ cdContext* cdContextDBuffer(void)
{
if (cdUseContextPlus(CD_QUERY))
{
- cdContext* ctx = cdGetContextPlus(CD_CTX_DBUFFER);
+ cdContext* ctx = cdGetContextPlus(CD_CTXPLUS_DBUFFER);
if (ctx != NULL)
return ctx;
}
diff --git a/src/x11/cdximg.c b/src/x11/cdximg.c
index c823705..12db352 100644
--- a/src/x11/cdximg.c
+++ b/src/x11/cdximg.c
@@ -32,6 +32,7 @@ static cdContext cdImageContext =
{
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_YAXIS | CD_CAP_FPRIMTIVES | CD_CAP_PATH | CD_CAP_BEZIER ),
0,
+ CD_CTX_IMAGE,
cdcreatecanvas,
cdinittable,
NULL,
@@ -43,7 +44,7 @@ cdContext* cdContextImage(void)
{
if (cdUseContextPlus(CD_QUERY))
{
- cdContext* ctx = cdGetContextPlus(CD_CTX_IMAGE);
+ cdContext* ctx = cdGetContextPlus(CD_CTXPLUS_IMAGE);
if (ctx != NULL)
return ctx;
}
diff --git a/src/x11/cdxnative.c b/src/x11/cdxnative.c
index a69314c..ddf6670 100644
--- a/src/x11/cdxnative.c
+++ b/src/x11/cdxnative.c
@@ -144,7 +144,8 @@ static void cdinittable(cdCanvas* canvas)
static cdContext cdNativeWindowContext =
{
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_YAXIS | CD_CAP_FPRIMTIVES | CD_CAP_PATH | CD_CAP_BEZIER),
- 1,
+ 0,
+ CD_CTX_WINDOW,
cdcreatecanvas,
cdinittable,
NULL,
@@ -156,7 +157,7 @@ cdContext* cdContextNativeWindow(void)
{
if (cdUseContextPlus(CD_QUERY))
{
- cdContext* ctx = cdGetContextPlus(CD_CTX_NATIVEWINDOW);
+ cdContext* ctx = cdGetContextPlus(CD_CTXPLUS_NATIVEWINDOW);
if (ctx != NULL)
return ctx;
}
diff --git a/src/xrender/cdxrender.c b/src/xrender/cdxrender.c
index 2f99da3..dfd4370 100644
--- a/src/xrender/cdxrender.c
+++ b/src/xrender/cdxrender.c
@@ -981,9 +981,9 @@ static void xrCreateContextPlus(cdCtxCanvas *ctxcanvas)
/*******************************************************************************************************/
-static cdContext cdDBufferContext = {0,0,NULL,NULL,NULL,NULL};
-static cdContext cdNativeWindowContext = {0,0,NULL,NULL,NULL,NULL};
-static cdContext cdImageContext = {0,0,NULL,NULL,NULL,NULL};
+static cdContext cdDBufferContext = {0,0,0,NULL,NULL,NULL,NULL};
+static cdContext cdNativeWindowContext = {0,0,0,NULL,NULL,NULL,NULL};
+static cdContext cdImageContext = {0,0,0,NULL,NULL,NULL,NULL};
static void (*cdcreatecanvasDBUFFER)(cdCanvas* canvas, void* data) = NULL;
static void (*cdcreatecanvasNATIVE)(cdCanvas* canvas, void* data) = NULL;
diff --git a/src/xrender/cdxrplus.c b/src/xrender/cdxrplus.c
index f938a6f..589aa3c 100644
--- a/src/xrender/cdxrplus.c
+++ b/src/xrender/cdxrplus.c
@@ -18,9 +18,9 @@ void cdInitContextPlus(void)
cdContext* ctx_list[NUM_CONTEXTPLUS];
memset(ctx_list, 0, sizeof(ctx_list));
- ctx_list[CD_CTX_NATIVEWINDOW] = cdContextNativeWindowPlus();
- ctx_list[CD_CTX_IMAGE] = cdContextImagePlus();
- ctx_list[CD_CTX_DBUFFER] = cdContextDBufferPlus();
+ ctx_list[CD_CTXPLUS_NATIVEWINDOW] = cdContextNativeWindowPlus();
+ ctx_list[CD_CTXPLUS_IMAGE] = cdContextImagePlus();
+ ctx_list[CD_CTXPLUS_DBUFFER] = cdContextDBufferPlus();
cdInitContextPlusList(ctx_list);
}