/* CPE 101 Fall 2008 */ /* Alex Dekhtyar */ /* Lab 7 image.h test */ /*Test for putLine() */ #include "image.h" int main() { char image[HEIGHT][WIDTH][COLORS]; char white[COLORS], black[COLORS]; setColor(white, 255,255,255); setColor(black, 0,0,0); blankImage(image,white); putLine(image,10,10, 210, 210, black); putLine(image,20,30, 210, 30, black); putLine(image, 10, 400, 10, 500, black); drawImage(image); return 0; }