1 #ifndef _LINE_H_
2 #define _LINE_H_
3 
4 #include "device.h"
5 #include "poly.h"
6 
7 typedef struct {
8   point p1;
9   point p2;
10   int color;
11 } line;
12 
13 void init_line(void);
14 void drawline(device *, line *);
15 void clip_and_draw_line(device *, line *);
16 
17 #endif /* _LINE_H_ */
18