]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 10 Feb 2011 14:26:00 +0000 (14:26 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 10 Feb 2011 14:26:00 +0000 (14:26 +0000)
magick/image.c

index 247ab4f87d071f524abb07612403d64822ef9318..bc6c62807029efee5831418fe414014635bf70b6 100644 (file)
@@ -3831,19 +3831,13 @@ MagickExport VirtualPixelMethod SetImageVirtualPixelMethod(const Image *image,
 %
 */
 
-static ssize_t SmushOffset(const Image *images,const MagickBooleanType stack,
-  ExceptionInfo *exception)
+static ssize_t SmushXOffset(const Image *images,ExceptionInfo *exception)
+{
+  return(0);
+}
+
+static ssize_t SmushYOffset(const Image *images,ExceptionInfo *exception)
 {
-  if (stack != MagickFalse)
-    {
-      /*
-        Stack left to right.
-      */
-      return(0);
-    }
-  /*
-    Stack top to bottom.
-  */
   return(0);
 }
 
@@ -3940,12 +3934,12 @@ MagickExport Image *SmushImages(const Image *images,
     if (stack != MagickFalse)
       {
         x_offset-=geometry.x;
-        x_offset-=SmushOffset(image,stack,exception)+offset;
+        x_offset-=SmushXOffset(image,exception)+offset;
       }
     else
       {
         y_offset-=geometry.y;
-        y_offset-=SmushOffset(image,stack,exception)+offset;
+        y_offset-=SmushYOffset(image,exception)+offset;
       }
     status=CompositeImage(smush_image,OverCompositeOp,image,x_offset,y_offset);
     proceed=SetImageProgress(image,SmushImageTag,n,number_images);