summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/wd.h b/include/wd.h
index 80ee7b0..f238027 100644
--- a/include/wd.h
+++ b/include/wd.h
@@ -19,6 +19,10 @@ void wdCanvasGetViewport(cdCanvas* canvas, int *xmin, int *xmax, int *ymin, i
void wdCanvasWorld2Canvas(cdCanvas* canvas, double xw, double yw, int *xv, int *yv);
void wdCanvasWorld2CanvasSize(cdCanvas* canvas, double hw, double vw, int *hv, int *vv);
void wdCanvasCanvas2World(cdCanvas* canvas, int xv, int yv, double *xw, double *yw);
+void wdCanvasSetTransform(cdCanvas* canvas, double sx, double sy, double tx, double ty);
+void wdCanvasGetTransform(cdCanvas* canvas, double *sx, double *sy, double *tx, double *ty);
+void wdCanvasTranslate(cdCanvas* canvas, double dtx, double dty);
+void wdCanvasScale(cdCanvas* canvas, double dsx, double dsy);
void wdCanvasClipArea(cdCanvas* canvas, double xmin, double xmax, double ymin, double ymax);
int wdCanvasGetClipArea(cdCanvas* canvas, double *xmin, double *xmax, double *ymin, double *ymax);