summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorscuri <scuri>2009-12-01 20:33:02 +0000
committerscuri <scuri>2009-12-01 20:33:02 +0000
commit837b9b863299bd05b5348b47f9c028091c70de61 (patch)
treecc64af440937937ca8e3d70e04e357ee29527a24 /include
parenta70ccabdeb03fa5c6a2b1a594202659a7ebacd33 (diff)
New: function CanvasYAxisMode to control the Y axis orientation.
Diffstat (limited to 'include')
-rw-r--r--include/cd.h1
1 files changed, 1 insertions, 0 deletions
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);