Index: gimp/app/paint-funcs/scale-funcs.h
===================================================================
RCS file: /cvs/gnome/gimp/app/paint-funcs/scale-funcs.h,v
retrieving revision 1.3
diff -u -r1.3 scale-funcs.h
--- gimp/app/paint-funcs/scale-funcs.h  6 Sep 2006 15:29:45 -0000 1.3
+++ gimp/app/paint-funcs/scale-funcs.h  21 Sep 2006 03:13:56 -0000
@@ -20,9 +20,10 @@
 #define __SCALE_FUNCS_H__
 

-#define EPSILON          (0.0001)
-#define LANCZOS_SPP      (1000)
-#define LANCZOS_WIDTH    (4)
+#define EPSILON          (0.0001)  /* arbitary small number for avoiding zero $
+#define LANCZOS_SPP      (1000)    /* number of data pts per unit x in lookup $
+#define LANCZOS_MIN      (1.0 / LANCZOS_SPP)
+#define LANCZOS_WIDTH    (3)
 #define LANCZOS_WIDTH2   (1 + (LANCZOS_WIDTH * 2))
 #define LANCZOS_SAMPLES  (LANCZOS_SPP * (LANCZOS_WIDTH + 1))

@@ -32,6 +33,8 @@
                     GimpInterpolationType  interpolation,
                     GimpProgressFunc       progress_callback,
                     gpointer               progress_data);
+
+gdouble *   create_lanczos_lookup (void);


 #endif  /*  __SCALE_FUNCS_H__  */

