summaryrefslogtreecommitdiff
path: root/include/cd_private.h
diff options
context:
space:
mode:
authorscuri <scuri>2009-06-23 03:18:33 +0000
committerscuri <scuri>2009-06-23 03:18:33 +0000
commit0610dd4f3064220a2e8fb1d8dc120044eb6c64a8 (patch)
treea5d0d3b6c79e967cd4e80c7668b906e8b422f902 /include/cd_private.h
parent09be96e0606d05b056f82b5f9254208a2d0e4c88 (diff)
*** empty log message ***
Diffstat (limited to 'include/cd_private.h')
-rw-r--r--include/cd_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/cd_private.h b/include/cd_private.h
index 9ca38ce..14db96e 100644
--- a/include/cd_private.h
+++ b/include/cd_private.h
@@ -268,6 +268,8 @@ int cdfCheckBoxSize(double *xmin, double *xmax, double *ymin, double *ymax);
void cdNormalizeLimits(int w, int h, int *xmin, int *xmax, int *ymin, int *ymax);
int cdGetFileName(const char* strdata, char* filename);
int cdStrEqualNoCase(const char* str1, const char* str2);
+int cdStrLineCount(const char* str);
+char* cdStrDup(const char* str);
#define _cdCheckCanvas(_canvas) (_canvas!=NULL && ((unsigned char*)_canvas)[0] == 'C' && ((unsigned char*)_canvas)[1] == 'D')
#define _cdInvertYAxis(_canvas, _y) (_canvas->h - (_y) - 1)
@@ -286,6 +288,8 @@ void cdMatrixInverse(const double* matrix, double* inv_matrix);
void cdRotatePoint(cdCanvas* canvas, int x, int y, int cx, int cy, int *rx, int *ry, double sin_teta, double cos_teta);
void cdRotatePointY(cdCanvas* canvas, int x, int y, int cx, int cy, int *ry, double sin_theta, double cos_theta);
void cdTextTranslatePoint(cdCanvas* canvas, int x, int y, int w, int h, int baseline, int *rx, int *ry);
+void cdMovePoint(int *x, int *y, double dx, double dy, double sin_theta, double cos_theta);
+void cdfMovePoint(double *x, double *y, double dx, double dy, double sin_theta, double cos_theta);
/*************/
/* Fonts */