version 1.1, 2000/01/09 17:00:49 |
version 1.1.1.3, 2003/09/15 07:09:23 |
|
|
* to the extent permitted by applicable law. |
* to the extent permitted by applicable law. |
]*/ |
]*/ |
|
|
|
#ifndef GNUPLOT_BITMAP_H |
|
# define GNUPLOT_BITMAP_H |
|
|
/* allow up to 16 bit width for character array */ |
/* allow up to 16 bit width for character array */ |
typedef unsigned int char_row; |
typedef unsigned int char_row; |
Line 82 extern unsigned int b_pattern[]; |
|
Line 84 extern unsigned int b_pattern[]; |
|
extern int b_maskcount; |
extern int b_maskcount; |
extern unsigned int b_lastx, b_lasty; /* last pixel set - used by b_line */ |
extern unsigned int b_lastx, b_lasty; /* last pixel set - used by b_line */ |
|
|
|
/* RGB colour table moved out of gif.trm */ |
|
/* |
|
* Common RGB color table for use by all devices. |
|
* It's a subset of the 216-color Web palette. |
|
*/ |
|
#define WEB_N_COLORS 99 |
|
struct rgb |
|
{ |
|
unsigned char r, g, b; |
|
}; |
|
|
|
extern struct rgb web_color_rgbs[]; |
|
|
|
|
/* Prototypes from file "bitmap.c" */ |
/* Prototypes from file "bitmap.c" */ |
|
|
void b_makebitmap __PROTO((unsigned int x, unsigned int y, unsigned int planes)); |
void b_makebitmap __PROTO((unsigned int x, unsigned int y, unsigned int planes)); |
void b_freebitmap __PROTO((void)); |
void b_freebitmap __PROTO((void)); |
void b_setpixel __PROTO((unsigned int x, unsigned int y, unsigned int value)); |
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_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_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)); */ |
/* void b_putc __PROTO((unsigned int x, unsigned int y, char c, unsigned int angle)); */ |
Line 100 void b_move __PROTO((unsigned int x, unsigned int y)); |
|
Line 115 void b_move __PROTO((unsigned int x, unsigned int y)); |
|
void b_vector __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)); |
void b_put_text __PROTO((unsigned int x, unsigned int y, char *str)); |
int b_text_angle __PROTO((int ang)); |
int b_text_angle __PROTO((int ang)); |
|
|
|
#endif /* GNUPLOT_BITMAP_H */ |