=================================================================== RCS file: /home/cvs/OpenXM_contrib/gnuplot/Attic/bitmap.h,v retrieving revision 1.1.1.2 retrieving revision 1.1.1.3 diff -u -p -r1.1.1.2 -r1.1.1.3 --- OpenXM_contrib/gnuplot/Attic/bitmap.h 2000/01/22 14:15:54 1.1.1.2 +++ OpenXM_contrib/gnuplot/Attic/bitmap.h 2003/09/15 07:09:23 1.1.1.3 @@ -1,4 +1,4 @@ -/* $Id: bitmap.h,v 1.1.1.2 2000/01/22 14:15:54 maekawa Exp $ */ +/* $Id: bitmap.h,v 1.1.1.3 2003/09/15 07:09:23 ohara Exp $ */ /* GNUPLOT - bitmap.h */ @@ -32,6 +32,8 @@ * to the extent permitted by applicable law. ]*/ +#ifndef GNUPLOT_BITMAP_H +# define GNUPLOT_BITMAP_H /* allow up to 16 bit width for character array */ typedef unsigned int char_row; @@ -101,7 +103,7 @@ extern struct rgb web_color_rgbs[]; void b_makebitmap __PROTO((unsigned int x, unsigned int y, unsigned int planes)); void b_freebitmap __PROTO((void)); void b_setpixel __PROTO((unsigned int x, unsigned int y, unsigned int value)); -/* unused unsigned int b_getpixel __PROTO((unsigned int x, unsigned int y)); */ +unsigned int b_getpixel __PROTO((unsigned int x, unsigned int y)); void b_line __PROTO((unsigned int x1, unsigned int y1, unsigned int x2, unsigned int y2)); void b_setmaskpixel __PROTO((unsigned int x, unsigned int y, unsigned int value)); /* void b_putc __PROTO((unsigned int x, unsigned int y, char c, unsigned int angle)); */ @@ -113,3 +115,5 @@ void b_move __PROTO((unsigned int x, unsigned int y)); void b_vector __PROTO((unsigned int x, unsigned int y)); void b_put_text __PROTO((unsigned int x, unsigned int y, char *str)); int b_text_angle __PROTO((int ang)); + +#endif /* GNUPLOT_BITMAP_H */