From 25e85e1b809ec58ecac0f2e8fe48f74836f8e131 Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 15 Jun 2010 00:18:43 -0700 Subject: Upgrading to CD 5.3 --- cd/include/cd.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'cd/include/cd.h') 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 -- cgit v1.2.3