From a124216ee05a5d63ea8fcdafcd050ad1fadf0b09 Mon Sep 17 00:00:00 2001 From: scuri Date: Sun, 20 Jun 2010 03:51:17 +0000 Subject: *** empty log message *** --- html/en/func/wd.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'html/en/func/wd.html') 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.

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]
-- cgit v1.2.3