#ifndef _LINE_H_ #define _LINE_H_ #include "device.h" #include "poly.h" typedef struct { point p1; point p2; int color; } line; void init_line(void); void drawline(device *, line *); void clip_and_draw_line(device *, line *); #endif /* _LINE_H_ */