/* Bruce A. Maxwell Fall 2014 A program to test the polyline function */ #include #include #include "graphics.h" // draw some random lines, then two boxes int main(int argc, char *argv[]) { const int nPoints = 1000; Polyline thing1; Polyline *thing2; Point p[nPoints]; int i; int rows = 500; int cols = 500; Image *src; Color Blue; Color Red; Color Green; color_set( &Blue, 0.1, 0.15, 0.7 ); color_set( &Red, 0.8, 0.2, 0.1 ); color_set( &Green, 0.2, 0.6, 0.2 ); printf("Startup\n"); for(i=0;i