X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fpdf%2FGFXOutputDev.cc;fp=lib%2Fpdf%2FGFXOutputDev.cc;h=b6cef658cdeae4ab7168f4c7f2bd75cdd220715b;hb=c73fce0d6691eb05e02fc527ac699e259c237250;hp=5439923170986f54ee4a2c2edf8b238d01a8c186;hpb=72b2fb4b532b4339d282db4bb6cd10508d066211;p=swftools.git diff --git a/lib/pdf/GFXOutputDev.cc b/lib/pdf/GFXOutputDev.cc index 5439923..b6cef65 100644 --- a/lib/pdf/GFXOutputDev.cc +++ b/lib/pdf/GFXOutputDev.cc @@ -36,15 +36,20 @@ #ifdef HAVE_FONTCONFIG #include #endif + +#include "../../config.h" + //xpdf header files -#include "config.h" -#ifdef HAVE_POPPLER -#include -#include +#include "popplercompat.h" + #ifdef HAVE_POPPLER + #include + #include #else -#include "gfile.h" -#include "GString.h" + #include "xpdf/config.h" + #include "gfile.h" + #include "GString.h" #endif + #include "Object.h" #include "Stream.h" #include "Array.h" @@ -962,23 +967,21 @@ void GFXOutputDev::transformXY(GfxState*state, double x, double y, double*nx, do *ny += user_movey + clipmovey; } - -#if (xpdfMajorVersion*10000 + xpdfMinorVersion*100 + xpdfUpdateVersion) < 30207 -void GFXOutputDev::tilingPatternFill(GfxState *state, Object *str, - int paintType, Dict *resDict, - double *mat, double *bbox, - int x0, int y0, int x1, int y1, - double xStep, double yStep) -#else -void GFXOutputDev::tilingPatternFill(GfxState *state, Gfx *gfx, Object *str, +POPPLER_TILING_PATERN_RETURN GFXOutputDev::tilingPatternFill(GfxState *state, + POPPLER_TILING_PATERN_GFX + Object *str, int paintType, Dict *resDict, double *mat, double *bbox, int x0, int y0, int x1, int y1, double xStep, double yStep) -#endif { msg(" tilingPatternFill"); infofeature("tiling pattern fills"); +#ifdef HAVE_POPPLER + // since we don't implement this method yet, + // reduce it to a series of other drawing operations. + return gFalse; +#endif } GBool GFXOutputDev::functionShadedFill(GfxState *state, GfxFunctionShading *shading)