Source

gd-libgd / src / testac.c

Diff from to

File src/testac.c

    quality tradeoffs. */
 
 void testDrawing (gdImagePtr im_in,
-                  double scale, int blending, int palette, char *filename);
+		  double scale, int blending, int palette, char *filename);
 
 int
 main (int argc, char *argv[])
    quality tradeoffs. */
 void
 testDrawing (gdImagePtr im_in,
-             double scale, int blending, int palette, char *filename)
+	     double scale, int blending, int palette, char *filename)
 {
 	gdImagePtr im_out;
 	FILE *out;
 	/* Create output image. */
 	im_out = gdImageCreateTrueColor ((int) (gdImageSX (im_in) * scale),
-	                                 (int) (gdImageSY (im_in) * scale));
+					 (int) (gdImageSY (im_in) * scale));
 	/*
 	   Request alpha blending. This causes future
 	   drawing operations to perform alpha channel blending
 
 	/* Flood with light blue. */
 	gdImageFill (im_out, (int) (gdImageSX (im_in) * scale / 2),
-	             (int) (gdImageSY (im_in) * scale / 2),
-	             gdTrueColor (192, 192, 255));
+		     (int) (gdImageSY (im_in) * scale / 2),
+		     gdTrueColor (192, 192, 255));
 	/* Copy the source image. Alpha blending should result in
 	   compositing against red. With blending turned off, the
 	   browser or viewer will composite against its preferred
 	   we will see the original colors for the pixels that
 	   ought to be transparent or semitransparent. */
 	gdImageCopyResampled (im_out, im_in,
-	                      0, 0,
-	                      0, 0,
-	                      (int) (gdImageSX (im_in) * scale),
-	                      (int) (gdImageSY (im_in) * scale), gdImageSX (im_in),
-	                      gdImageSY (im_in));
+			      0, 0,
+			      0, 0,
+			      (int) (gdImageSX (im_in) * scale),
+			      (int) (gdImageSY (im_in) * scale), gdImageSX (im_in),
+			      gdImageSY (im_in));
 	/* Write PNG */
 	out = fopen (filename, "wb");