#ifndef _GLOBALS_H_ #define _GLOBALS_H_ #include #define USIZE 300 #define BEZIER 1 #define CUBICB 2 /* data structure to store knots */ typedef struct { double x; double y; } Knot; /* our widgets */ Widget toplevel, form, quit, canvas, filename, load; Display *display; /* our X display, used often throughout program */ int red, green, blue; /* colour pixel numbers */ Knot knot[100]; /* array to hold our polygon data */ int curvesize; /* number of knots in our curve */ #endif