From a124216ee05a5d63ea8fcdafcd050ad1fadf0b09 Mon Sep 17 00:00:00 2001
From: scuri
All World Coordinate drawing in all drivers are simulated using other CD - primitives and do NOT depend or use the Transformation matrix.
+ primitives and do NOT depend or use the cdCanvasTransform + transformation matrix.void wdCanvasWindow(cdCanvas* canvas, double xmin, double xmax, double ymin, double ymax); [in C]
@@ -74,7 +75,8 @@ canvas:wSetTransform(sx, sy, tx, ty: number) [in Lua]
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 wdCanvasWindow and wdCanvasViewport.
+ set by wdCanvasWindow and wdCanvasViewport. + This has NO relation with cdCanvasTransform.void wdCanvasGetTransform(cdCanvas* canvas, double *sx, double *sy, double *tx, double *ty); [in C]
canvas:wGetTransform() -> (sx, sy, tx, ty: number) [in Lua]
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)
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 simple.c file, or take the file - simple.zip for a complete set of files including makefiles for all platforms. - Extract the files creating subfolders, using parameter "-d".
+ (including WD). You can see the source code in the file + simple.zip.