X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fpdf%2Fpopplercompat.h;h=b091228708a1dd6da66037754c168db591be4f9f;hb=refs%2Fheads%2Fpoppler;hp=b76df7e727f19a52a76570a38cfcc38059d0b3c2;hpb=2fd59711482471414d72dfb34bca72e4b4fd04df;p=swftools.git diff --git a/lib/pdf/popplercompat.h b/lib/pdf/popplercompat.h index b76df7e..b091228 100644 --- a/lib/pdf/popplercompat.h +++ b/lib/pdf/popplercompat.h @@ -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 @@ -22,4 +34,12 @@ 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