summaryrefslogtreecommitdiff
path: root/poppler/GfxState.h
diff options
context:
space:
mode:
Diffstat (limited to 'poppler/GfxState.h')
-rw-r--r--poppler/GfxState.h33
1 files changed, 16 insertions, 17 deletions
diff --git a/poppler/GfxState.h b/poppler/GfxState.h
index 458db60b..7dccfd5c 100644
--- a/poppler/GfxState.h
+++ b/poppler/GfxState.h
@@ -38,2 +38,3 @@
class Array;
+class Gfx;
class GfxFont;
@@ -180,3 +181,3 @@ public:
// Construct a color space. Returns NULL if unsuccessful.
- static GfxColorSpace *parse(Object *csObj);
+ static GfxColorSpace *parse(Object *csObj, Gfx *gfx);
@@ -447,3 +448,3 @@ public:
// Construct an ICCBased color space. Returns NULL if unsuccessful.
- static GfxColorSpace *parse(Array *arr);
+ static GfxColorSpace *parse(Array *arr, Gfx *gfx);
@@ -475,4 +476,2 @@ private:
GfxColorTransform *lineTransform; // color transform for line
-
- static PopplerCache *cache;
#endif
@@ -492,3 +491,3 @@ public:
// Construct a Lab color space. Returns NULL if unsuccessful.
- static GfxColorSpace *parse(Array *arr);
+ static GfxColorSpace *parse(Array *arr, Gfx *gfx);
@@ -534,3 +533,3 @@ public:
// Construct a Separation color space. Returns NULL if unsuccessful.
- static GfxColorSpace *parse(Array *arr);
+ static GfxColorSpace *parse(Array *arr, Gfx *gfx);
@@ -571,3 +570,3 @@ public:
// Construct a DeviceN color space. Returns NULL if unsuccessful.
- static GfxColorSpace *parse(Array *arr);
+ static GfxColorSpace *parse(Array *arr, Gfx *gfx);
@@ -610,3 +609,3 @@ public:
// Construct a Pattern color space. Returns NULL if unsuccessful.
- static GfxColorSpace *parse(Array *arr);
+ static GfxColorSpace *parse(Array *arr, Gfx *gfx);
@@ -638,3 +637,3 @@ public:
- static GfxPattern *parse(Object *obj);
+ static GfxPattern *parse(Object *obj, Gfx *gfx);
@@ -694,3 +693,3 @@ public:
- static GfxShadingPattern *parse(Object *patObj);
+ static GfxShadingPattern *parse(Object *patObj, Gfx *gfx);
virtual ~GfxShadingPattern();
@@ -721,3 +720,3 @@ public:
- static GfxShading *parse(Object *obj);
+ static GfxShading *parse(Object *obj, Gfx *gfx);
@@ -735,3 +734,3 @@ protected:
- GBool init(Dict *dict);
+ GBool init(Dict *dict, Gfx *gfx);
@@ -759,3 +758,3 @@ public:
- static GfxFunctionShading *parse(Dict *dict);
+ static GfxFunctionShading *parse(Dict *dict, Gfx *gfx);
@@ -793,3 +792,3 @@ public:
- static GfxAxialShading *parse(Dict *dict);
+ static GfxAxialShading *parse(Dict *dict, Gfx *gfx);
@@ -831,3 +830,3 @@ public:
- static GfxRadialShading *parse(Dict *dict);
+ static GfxRadialShading *parse(Dict *dict, Gfx *gfx);
@@ -874,3 +873,3 @@ public:
- static GfxGouraudTriangleShading *parse(int typeA, Dict *dict, Stream *str);
+ static GfxGouraudTriangleShading *parse(int typeA, Dict *dict, Stream *str, Gfx *gfx);
@@ -911,3 +910,3 @@ public:
- static GfxPatchMeshShading *parse(int typeA, Dict *dict, Stream *str);
+ static GfxPatchMeshShading *parse(int typeA, Dict *dict, Stream *str, Gfx *gfx);