summaryrefslogtreecommitdiff
path: root/html/en
diff options
context:
space:
mode:
Diffstat (limited to 'html/en')
-rw-r--r--html/en/func/wd.html6
-rw-r--r--html/en/samples.html5
2 files changed, 6 insertions, 5 deletions
diff --git a/html/en/func/wd.html b/html/en/func/wd.html
index 02fda2e..c7aacff 100644
--- a/html/en/func/wd.html
+++ b/html/en/func/wd.html
@@ -24,7 +24,8 @@
if the canvas has a small size the picture quality will be poor. To increase
picture quality create a canvas with a larger size, if possible.</p>
<p>All World Coordinate drawing in all drivers are simulated using other CD
- primitives and do NOT depend or use the Transformation matrix.</p>
+ primitives and do NOT depend or use the <strong>cdCanvasTransform</strong>
+ transformation matrix.</p>
<hr>
<pre class="function"><span class="mainFunction">void <a name="wdWindow">wdCanvasWindow</a>(cdCanvas* canvas, double xmin, double xmax, double ymin, double ymax); [in C]</span>
@@ -74,7 +75,8 @@ canvas:wSetTransform(sx, sy, tx, ty: number) [in Lua]</pre>
<p>Configures the world coordinate system transformation to be used to
convert world coordinates (with values in real numbers) into canvas
coordinates (with values in integers). The transformation is automatically
- set by <strong>wdCanvasWindow</strong> and <strong>wdCanvasViewport</strong>.</p>
+ set by <strong>wdCanvasWindow</strong> and <strong>wdCanvasViewport</strong>.
+ This has NO relation with <strong>cdCanvasTransform</strong>.</p>
<pre class="function"><span class="mainFunction">void <a name="wdGetTransform">wdCanvasGetTransform</a>(cdCanvas* canvas, double *sx, double *sy, double *tx, double *ty); [in C]</span>
canvas:wGetTransform() -&gt; (sx, sy, tx, ty: number) [in Lua]</pre>
diff --git a/html/en/samples.html b/html/en/samples.html
index 72fdc07..e088f3b 100644
--- a/html/en/samples.html
+++ b/html/en/samples.html
@@ -82,9 +82,8 @@ cd.KillCanvas(canvas)
<h3><a name="Complete Example">Complete Example</a></h3>
<p>We have created an application called Simple Draw that illustrates the use of all functions in the CD library
- (including WD). You can see the source code in the <a href="../download/simple.c">simple.c</a> file, or take the file
- <a href="../download/simple.zip">simple.zip</a> for a complete set of files including makefiles for all platforms.
- Extract the files creating subfolders, using parameter &quot;<font face="Courier New">-d</font>&quot;.</p>
+ (including WD). You can see the source code in the file
+ <a href="../download/simple.zip">simple.zip</a>.</p>
<h3>Example for Tests</h3>