3c2 #ifndef E00_H #define E00_H #include "mapview.h" #define PROJ_GEO 0 #define PROJ_UTM 1 typedef struct { double lat, lon; } NODE; typedef struct arc { int type; NODE *nodes; unsigned short nnodes; double minlat, maxlat, minlon, maxlon; char done; } ARC; typedef struct poly { int type; int *arcids; unsigned short narcs; double minlat, maxlat, minlon, maxlon; struct poly *next; } POLY; typedef struct e00map { int type; unsigned long color, fillcolor; int width; struct e00map *next; char *covname; int covtype; ARC *arcs[50000]; int narcs; POLY *polys; int npolys; int proj; } E00MAP; void drawe00(E00MAP *map, unsigned long (*getiscolor)(), unsigned long (*getfillcolor)()); E00MAP *loade00(char *fname, unsigned long color, unsigned long fillcolor, int width, void (*parseaat)(), void (*parsepat)()); #endif . 0