Anonymous avatar Anonymous committed 8f5ea3f

- sync to 2.0.9

Comments (0)

Files changed (1)

    to test gdImageTrueColorToPalette and see file size/
    quality tradeoffs. */
 
-void testDrawing (
-		   gdImagePtr im_in,
-		   double scale,
-		   int blending,
-		   int palette,
-		   char *filename);
+void testDrawing (gdImagePtr im_in,
+		  double scale, int blending, int palette, char *filename);
 
 int
 main (int argc, char *argv[])
   testDrawing (im_in, 2.0, 1, 1, "blending-doublesize-palette.png");
   gdImageDestroy (im_in);
 #else
-  fprintf(stderr, "No PNG library support.\n");
+  fprintf (stderr, "No PNG library support.\n");
 #endif
 
   return 0;
    to test gdImageTrueColorToPalette and see file size/
    quality tradeoffs. */
 void
-testDrawing (
-	      gdImagePtr im_in,
-	      double scale,
-	      int blending,
-	      int palette,
-	      char *filename)
+testDrawing (gdImagePtr im_in,
+	     double scale, int blending, int palette, char *filename)
 {
   gdImagePtr im_out;
   FILE *out;
   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));
+			(int) (gdImageSX (im_in) * scale),
+			(int) (gdImageSY (im_in) * scale), gdImageSX (im_in),
+			gdImageSY (im_in));
   /* Write PNG */
   out = fopen (filename, "wb");
 
 #ifdef HAVE_LIBPNG
   gdImagePng (im_out, out);
 #else
-  fprintf(stderr, "No PNG library support.\n");
+  fprintf (stderr, "No PNG library support.\n");
 #endif
   fclose (out);
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.