#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);
-}
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% GradientImage() applies a continuously smooth color transitions assize_t a
+% GradientImage() applies a continuously smooth color transitions along a
% vector from one color to another.
%
% Note, the interface of this method will change in the future to support
% 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)
count=histogram[k];
}
}
- i+=image->columns+width;
+ i+=(ssize_t) (image->columns+width);
}
*q=(*(p+j));
if (image->colorspace == CMYKColorspace)