14 #ifndef __PNGDRIVER_H__
15 #define __PNGDRIVER_H__
27 #define FILE_NAME "map.png"
29 #define HEADER_SIZE 64
71 extern void png_get_pixel(
unsigned int,
int *,
int *,
int *,
int *);
77 extern void PNG_Box(
double,
double,
double,
double);
85 extern int PNG_raster(
int,
int,
const unsigned char *,
const unsigned char *,
86 const unsigned char *,
const unsigned char *);
88 extern void PNG_Move(
double,
double);
89 extern void PNG_Cont(
double,
double);
int PNG_raster(int, int, const unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *)
const char * PNG_Graph_get_file(void)
Get render file.
void PNG_Move(double, double)
const struct driver * PNG_Driver(void)
Initialize display driver.
void PNG_Graph_close(void)
Close down the graphics processing. This gets called only at driver termination time.
void PNG_begin_raster(int, int[2][2], double[2][2])
Start drawing raster.
int PNG_Graph_set(void)
Start up graphics processing.
void PNG_Point(double, double)
Draw point.
void PNG_Set_window(double, double, double, double)
Set window.
void png_get_pixel(unsigned int, int *, int *, int *, int *)
void png_init_color_table(void)
void PNG_Line_width(double)
Set line width.
void png_polygon(struct path *)
Draw polygon.
void PNG_Cont(double, double)
void PNG_Client_Close(void)
void PNG_Box(double, double, double, double)
Draw a (filled) rectangle.
void PNG_draw_bitmap(int, int, int, const unsigned char *)
Draw bitmap.
unsigned int png_get_color(int, int, int, int)
void png_draw_line(double, double, double, double)
void PNG_Erase(void)
Erase screen.
void PNG_color_rgb(int, int, int)
Identify a color.
unsigned char palette[256][4]