don't split tiling pattern fills
[swftools.git] / lib / pdf / InfoOutputDev.h
index 27d3b3d..ab120bf 100644 (file)
@@ -3,6 +3,8 @@
 
 #include "GfxFont.h"
 #include "OutputDev.h"
+#include "SplashFont.h"
+#include "SplashOutputDev.h"
 #include "GHash.h"
 
 struct FontInfo
@@ -15,14 +17,16 @@ class InfoOutputDev: public OutputDev
 {
   GHash* id2font;
   FontInfo* currentfont;
+  SplashOutputDev*splash;
   public:
   int x1,y1,x2,y2;
   int num_links;
   int num_images;
   int num_fonts;
 
-  InfoOutputDev();
-  virtual ~InfoOutputDev();
+  InfoOutputDev(XRef*xref);
+  virtual ~InfoOutputDev(); 
+  virtual GBool useTilingPatternFill();
   virtual GBool upsideDown();
   virtual GBool useDrawChar();
   virtual GBool interpretType3Chars();
@@ -40,6 +44,18 @@ class InfoOutputDev: public OutputDev
   virtual void drawImage(GfxState *state, Object *ref, Stream *str,
                         int width, int height, GfxImageColorMap *colorMap,
                         int *maskColors, GBool inlineImg);
+  virtual void drawMaskedImage(GfxState *state, Object *ref, Stream *str,
+                               int width, int height,
+                               GfxImageColorMap *colorMap,
+                               Stream *maskStr,
+                               int maskWidth, int maskHeight,
+                               GBool maskInvert);
+  virtual void drawSoftMaskedImage(GfxState *state, Object *ref, Stream *str,
+                                   int width, int height,
+                                   GfxImageColorMap *colorMap,
+                                   Stream *maskStr,
+                                   int maskWidth, int maskHeight,
+                                   GfxImageColorMap *maskColorMap);
 };
 
 #endif //__infooutputdev_h__