X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fpdf%2Fpopplercompat.h;h=b091228708a1dd6da66037754c168db591be4f9f;hb=refs%2Fheads%2Fpoppler;hp=cf8bfca46527ed835ca6ff6b7fbdfd560badd6c5;hpb=c73fce0d6691eb05e02fc527ac699e259c237250;p=swftools.git diff --git a/lib/pdf/popplercompat.h b/lib/pdf/popplercompat.h index cf8bfca..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 @@ -18,4 +30,16 @@ #endif #endif +#ifdef HAVE_POPPLER +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