| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | #ifndef _MAGICKCORE_DISTORT_H |
|---|
| 19 | #define _MAGICKCORE_DISTORT_H |
|---|
| 20 | |
|---|
| 21 | #if defined(__cplusplus) || defined(c_plusplus) |
|---|
| 22 | extern "C" { |
|---|
| 23 | #endif |
|---|
| 24 | |
|---|
| 25 | #include <magick/draw.h> |
|---|
| 26 | |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | |
|---|
| 30 | |
|---|
| 31 | |
|---|
| 32 | |
|---|
| 33 | |
|---|
| 34 | |
|---|
| 35 | |
|---|
| 36 | typedef enum |
|---|
| 37 | { |
|---|
| 38 | UndefinedDistortion, |
|---|
| 39 | AffineDistortion, |
|---|
| 40 | AffineProjectionDistortion, |
|---|
| 41 | ScaleRotateTranslateDistortion, |
|---|
| 42 | PerspectiveDistortion, |
|---|
| 43 | PerspectiveProjectionDistortion, |
|---|
| 44 | BilinearDistortion, |
|---|
| 45 | PolynomialDistortion, |
|---|
| 46 | ArcDistortion, |
|---|
| 47 | PolarDistortion, |
|---|
| 48 | DePolarDistortion, |
|---|
| 49 | BarrelDistortion, |
|---|
| 50 | BarrelInverseDistortion, |
|---|
| 51 | ShepardsDistortion, |
|---|
| 52 | SentinelDistortion |
|---|
| 53 | } DistortImageMethod; |
|---|
| 54 | |
|---|
| 55 | typedef enum |
|---|
| 56 | { |
|---|
| 57 | UndefinedColorInterpolate = UndefinedDistortion, |
|---|
| 58 | BarycentricColorInterpolate = AffineDistortion, |
|---|
| 59 | BilinearColorInterpolate = BilinearDistortion, |
|---|
| 60 | PolynomialColorInterpolate = PolynomialDistortion, |
|---|
| 61 | ShepardsColorInterpolate = ShepardsDistortion, |
|---|
| 62 | |
|---|
| 63 | VoronoiColorInterpolate = SentinelDistortion |
|---|
| 64 | } SparseColorMethod; |
|---|
| 65 | |
|---|
| 66 | extern MagickExport Image |
|---|
| 67 | *DistortImage(const Image *,const DistortImageMethod,const unsigned long, |
|---|
| 68 | const double *,MagickBooleanType,ExceptionInfo *exception), |
|---|
| 69 | *SparseColorImage(const Image *,const ChannelType,const SparseColorMethod, |
|---|
| 70 | const unsigned long,const double *,ExceptionInfo *); |
|---|
| 71 | |
|---|
| 72 | #if defined(__cplusplus) || defined(c_plusplus) |
|---|
| 73 | } |
|---|
| 74 | #endif |
|---|
| 75 | |
|---|
| 76 | #endif |
|---|