Author: | Steve |
---|---|
Mode: | c |
Date: | Sun, 22 May 2011 14:48:11 |
if(recursion >= 0 && recursion != NULL) { /* Let the recursion begin! */ draw(recursion, scale, canvasSize/2, canvasSize/2, gdImage, fgColour); /* Draw as many times as specified, to a scale, starting at the center of the canvas. */ jpgFile = fopen("temp.jpg", "wb"); gdImageJpeg(gdImage, jpgFile, -1); fclose(jpgFile); } else { printf("INFORMATION:\nThe First Value, needs to be non-negative.\nThe Second Value, is advised to be no larger than %i.", canvasSize/2); }