]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 10 Jan 2010 15:38:47 +0000 (15:38 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 10 Jan 2010 15:38:47 +0000 (15:38 +0000)
magick/distort.c
magick/distort.h

index b8c81db7c35c869247147e412e487ec1c6948c20..9935b170d2c63e29e40fe43b27d6c417db94acea 100644 (file)
@@ -86,6 +86,7 @@ static inline void AffineArgsToCoefficients(double *affine)
   tmp[0]=affine[1]; tmp[1]=affine[2]; tmp[2]=affine[3]; tmp[3]=affine[4];
   affine[3]=tmp[0]; affine[1]=tmp[1]; affine[4]=tmp[2]; affine[2]=tmp[3];
 }
+
 static inline void CoefficientsToAffineArgs(double *coeff)
 {
   /* map  internal c0,c1,c2,c3,c4,c5  to  external sx,ry,rx,sy,tx,ty */
index edfb498a8d137af9633930545e369d910ed02170..b94927cfac6539b451161b89666b59fd08a3122c 100644 (file)
 extern "C" {
 #endif
 
-#include <magick/draw.h>
-
 /*
   These two enum are linked, with common enumerated values.  Both
-  DistortImages() and SparseColor() often share code to determine
-  functional coefficients for common methods.
+  DistortImages() and SparseColor() often share code to determine functional
+  coefficients for common methods.
 
   Caution should be taken to ensure that only the common methods contain the
   same enumerated value, while all others remain unique across both
@@ -54,7 +52,6 @@ typedef enum
   SentinelDistortion
 } DistortImageMethod;
 
-
 typedef enum
 {
   UndefinedColorInterpolate = UndefinedDistortion,
@@ -62,7 +59,9 @@ typedef enum
   BilinearColorInterpolate = BilinearReverseDistortion,
   PolynomialColorInterpolate = PolynomialDistortion,
   ShepardsColorInterpolate = ShepardsDistortion,
-  /* Methods unique to SparseColor(): */
+  /*
+    Methods unique to SparseColor().
+  */
   VoronoiColorInterpolate = SentinelDistortion
 } SparseColorMethod;