diff options
author | Pixel <pixel@nobis-crew.org> | 2010-06-15 00:18:43 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2010-06-15 00:18:43 -0700 |
commit | 25e85e1b809ec58ecac0f2e8fe48f74836f8e131 (patch) | |
tree | a53caef2257fefdd6610a17427fd14ee656bbc92 /cd/include/cd.h | |
parent | 7c0c85a86aa73c0c495523f994f8412e377a8195 (diff) |
Upgrading to CD 5.3
Diffstat (limited to 'cd/include/cd.h')
-rwxr-xr-x | cd/include/cd.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/cd/include/cd.h b/cd/include/cd.h index 25859ae..ca38983 100755 --- a/cd/include/cd.h +++ b/cd/include/cd.h @@ -18,10 +18,10 @@ extern "C" { #define CD_NAME "CD - Canvas Draw" #define CD_DESCRIPTION "A 2D Graphics Library" -#define CD_COPYRIGHT "Copyright (C) 1994-2009 Tecgraf, PUC-Rio." -#define CD_VERSION "5.2" -#define CD_VERSION_DATE "2009/06/26" -#define CD_VERSION_NUMBER 502000 +#define CD_COPYRIGHT "Copyright (C) 1994-2010 Tecgraf, PUC-Rio." +#define CD_VERSION "5.3" /* bug fixes are reported only by cdVersion functions */ +#define CD_VERSION_NUMBER 503000 +#define CD_VERSION_DATE "2010/01/26" typedef struct _cdContext cdContext; typedef struct _cdCanvas cdCanvas; @@ -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); @@ -470,7 +471,7 @@ typedef int(*cdSizeCB)(cdCanvas *canvas, int w, int h, double w_mm, double h_mm) /****************************************************************************** -Copyright (C) 1994-2009 Tecgraf, PUC-Rio. +Copyright (C) 1994-2010 Tecgraf, PUC-Rio. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the |