From fefb32fb3c7fb0c15ffc617a2e8c32c1425522fc Mon Sep 17 00:00:00 2001 From: losinshi Date: Tue, 12 Sep 2006 13:13:40 +0000 Subject: [PATCH] Working on charts git-svn-id: file:///home/jan/tmp/wetterstation/trunk@76 dd492736-c11a-0410-ad51-8c26713eaf7f --- cronjob/chart/image_file/image_data.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 cronjob/chart/image_file/image_data.h diff --git a/cronjob/chart/image_file/image_data.h b/cronjob/chart/image_file/image_data.h new file mode 100644 index 0000000..8a0aa13 --- /dev/null +++ b/cronjob/chart/image_file/image_data.h @@ -0,0 +1,17 @@ + + + +typedef struct pix_list *pix_list_ptr; +typedef struct pix_list { + pix_list_ptr next; + int x_pix_coord; + int value_count; + int value_sum; +} pix_list_t; + + + +/* Holt die Liste mit den Daten fuer das Bild. + * 1. Argument: die effektive Breite des Bereiches in dem gezeichnet werden soll + */ +pix_list_ptr get_pix_list(int );