From 837b9b863299bd05b5348b47f9c028091c70de61 Mon Sep 17 00:00:00 2001 From: scuri Date: Tue, 1 Dec 2009 20:33:02 +0000 Subject: New: function CanvasYAxisMode to control the Y axis orientation. --- include/cd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/cd.h') diff --git a/include/cd.h b/include/cd.h index 5b13f1e..d87975a 100644 --- a/include/cd.h +++ b/include/cd.h @@ -76,6 +76,7 @@ int cdCanvasPlay(cdCanvas* canvas, cdContext *context, int xmin, int xmax, int void cdCanvasGetSize(cdCanvas* canvas, int *width, int *height, double *width_mm, double *height_mm); int cdCanvasUpdateYAxis(cdCanvas* canvas, int* y); double cdfCanvasUpdateYAxis(cdCanvas* canvas, double* y); +int cdCanvasYAxisMode(cdCanvas* canvas, int invert); int cdCanvasInvertYAxis(cdCanvas* canvas, int y); double cdfCanvasInvertYAxis(cdCanvas* canvas, double y); void cdCanvasMM2Pixel(cdCanvas* canvas, double mm_dx, double mm_dy, int *dx, int *dy); -- cgit v1.2.3