#ifndef _MAGICKCORE_RESAMPLE_H
#define _MAGICKCORE_RESAMPLE_H
#include "magick/cache-view.h"
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
typedef enum
{
UndefinedFilter,
PointFilter,
BoxFilter,
TriangleFilter,
HermiteFilter,
HanningFilter,
HammingFilter,
BlackmanFilter,
GaussianFilter,
QuadraticFilter,
CubicFilter,
CatromFilter,
MitchellFilter,
JincFilter,
SincFilter,
SincFastFilter,
KaiserFilter,
WelshFilter,
ParzenFilter,
BohmanFilter,
BartlettFilter,
LagrangeFilter,
LanczosFilter,
LanczosSharpFilter,
Lanczos2Filter,
Lanczos2SharpFilter,
RobidouxFilter,
RobidouxSharpFilter,
CosineFilter,
SplineFilter,
LanczosRadiusFilter,
SentinelFilter
} FilterTypes;
#define BesselFilter JincFilter
typedef struct _ResampleFilter
ResampleFilter;
extern MagickExport MagickBooleanType
ResamplePixelColor(ResampleFilter *,const double,const double,
MagickPixelPacket *),
SetResampleFilterInterpolateMethod(ResampleFilter *,
const InterpolatePixelMethod),
SetResampleFilterVirtualPixelMethod(ResampleFilter *,
const VirtualPixelMethod);
extern MagickExport ResampleFilter
*AcquireResampleFilter(const Image *,ExceptionInfo *),
*DestroyResampleFilter(ResampleFilter *);
extern MagickExport void
ScaleResampleFilter(ResampleFilter *,const double,const double,const double,
const double),
SetResampleFilter(ResampleFilter *,const FilterTypes,const double);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif