poppler: add new axial and radialShadedFill parameters
[swftools.git] / lib / pdf / popplercompat.h
index b76df7e..b091228 100644 (file)
@@ -4,6 +4,18 @@
 #include "../../config.h"
 
 #ifdef HAVE_POPPLER
+  #define POPPLER_INTERPOLATE GBool interpolate,
+  #define POPPLER_INTERPOLATE_ARG interpolate,
+  #define POPPLER_MASK_INTERPOLATE , GBool maskInterpolate
+  #define POPPLER_MASK_INTERPOLATE_ARG , maskInterpolate
+#else
+  #define POPPLER_INTERPOLATE
+  #define POPPLER_INTERPOLATE_ARG
+  #define POPPLER_MASK_INTERPOLATE
+  #define POPPLER_MASK_INTERPOLATE_ARG
+#endif
+
+#ifdef HAVE_POPPLER
   #define POPPLER_TILING_PATERN_RETURN GBool
   #define POPPLER_TILING_PATERN_GFX
   #define POPPLER_TILING_PATERN_GFX_ARG
 char* mktmpname(char*ptr);
 #endif
 
+#ifdef HAVE_POPPLER
+  #define POPPLER_RAXIAL_MIN_MAX , double min, double max
+  #define POPPLER_RAXIAL_MIN_MAX_ARG , min, max
+#else
+  #define POPPLER_RAXIAL_MIN_MAX
+  #define POPPLER_RAXIAL_MIN_MAX_ARG
+#endif
+
 #endif