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