X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fpdf%2FBitmapOutputDev.cc;h=153cd02de4c49d36e191fe052075b9461d3ca557;hb=531e99d8f69a4dceab3ea67c4a15be5bd2733977;hp=6849eeedd373b460a02d95247049475d35095306;hpb=863d6a2088be6b60ae9171befc50bce023cb4dc0;p=swftools.git diff --git a/lib/pdf/BitmapOutputDev.cc b/lib/pdf/BitmapOutputDev.cc index 6849eee..153cd02 100644 --- a/lib/pdf/BitmapOutputDev.cc +++ b/lib/pdf/BitmapOutputDev.cc @@ -19,6 +19,7 @@ #include #include #include +#include "config.h" #include "BitmapOutputDev.h" #include "GFXOutputDev.h" #include "SplashBitmap.h" @@ -568,6 +569,7 @@ void BitmapOutputDev::eoFill(GfxState *state) msg(" eoFill"); rgbdev->eoFill(state); } +#if (xpdfMajorVersion < 3) || (xpdfMinorVersion < 2) || (xpdfUpdateVersion < 7) void BitmapOutputDev::tilingPatternFill(GfxState *state, Object *str, int paintType, Dict *resDict, double *mat, double *bbox, @@ -577,6 +579,18 @@ void BitmapOutputDev::tilingPatternFill(GfxState *state, Object *str, msg(" tilingPatternFill"); rgbdev->tilingPatternFill(state, str, paintType, resDict, mat, bbox, x0, y0, x1, y1, xStep, yStep); } +#else +void BitmapOutputDev::tilingPatternFill(GfxState *state, Gfx *gfx, Object *str, + int paintType, Dict *resDict, + double *mat, double *bbox, + int x0, int y0, int x1, int y1, + double xStep, double yStep) +{ + msg(" tilingPatternFill"); + rgbdev->tilingPatternFill(state, gfx, str, paintType, resDict, mat, bbox, x0, y0, x1, y1, xStep, yStep); +} +#endif + GBool BitmapOutputDev::functionShadedFill(GfxState *state, GfxFunctionShading *shading) { msg(" functionShadedFill");