]> granicus.if.org Git - imagemagick/blobdiff - magick/paint.c
(no commit message)
[imagemagick] / magick / paint.c
index 461830ae992bbdaf4a702e2f778e0ca913959a0e..6de39fbdd71df523610a1cb4674f0fbb19f4a503 100644 (file)
 #include "magick/string_.h"
 #include "magick/thread-private.h"
 \f
-static inline double MagickMax(const double x,const double y)
-{
-    return( x > y ? x : y);
-}
 /*
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %                                                                             %
@@ -403,6 +399,12 @@ MagickExport MagickBooleanType FloodfillPaintImage(Image *image,
 % This provides a good example of making use of the DrawGradientImage
 % function and the gradient structure in draw_info.
 */
+
+static inline double MagickMax(const double x,const double y)
+{
+  return(x > y ? x : y);
+}
+
 MagickExport MagickBooleanType GradientImage(Image *image,
   const GradientType type,const SpreadMethod method,
   const PixelPacket *start_color,const PixelPacket *stop_color)