fixed page extraction problem together with gfx module
[swftools.git] / lib / pdf / GFXOutputDev.h
index 89c6185..7557a79 100644 (file)
@@ -38,6 +38,12 @@ typedef struct _parameter
     struct _parameter*next;
 } parameter_t;
 
+typedef struct _feature
+{
+    char*string;
+    struct _feature*next;
+} feature_t;
+
 void addGlobalFont(const char*filename);
 void addGlobalLanguageDir(const char*dir);
 void addGlobalFontDir(const char*dirname);
@@ -80,6 +86,7 @@ public:
 
   //----- update graphics state
 
+  virtual void updateLineDash(GfxState *state);
   virtual void updateFont(GfxState *state);
   virtual void updateFontMatrix(GfxState *state);
   virtual void updateFillColor(GfxState *state);
@@ -216,6 +223,8 @@ public:
   void warnfeature(const char*feature,char fully);
   void infofeature(const char*feature);
 
+  feature_t*featurewarnings;
+
   char outer_clip_box; //whether the page clip box is still on
 
   gfxfontlist_t*gfxfontlist;
@@ -278,6 +287,10 @@ public:
   int config_convertgradients;
   int config_optimize_polygons;
   double config_fontquality;
+    
+  double *dashPattern;
+  int dashLength;
+  double dashStart;
 
   parameter_t*parameters;
 };