summaryrefslogtreecommitdiff
path: root/splash/SplashState.h
diff options
context:
space:
mode:
Diffstat (limited to 'splash/SplashState.h')
-rw-r--r--splash/SplashState.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/splash/SplashState.h b/splash/SplashState.h
index 0d1b6c5..fe773a5 100644
--- a/splash/SplashState.h
+++ b/splash/SplashState.h
@@ -2,6 +2,8 @@
//
// SplashState.h
//
+// Copyright 2003-2013 Glyph & Cog, LLC
+//
//========================================================================
#ifndef SPLASHSTATE_H
@@ -19,6 +21,7 @@ class SplashPattern;
class SplashScreen;
class SplashClip;
class SplashBitmap;
+class SplashPath;
//------------------------------------------------------------------------
// line cap values
@@ -67,6 +70,12 @@ public:
void setLineDash(SplashCoord *lineDashA, int lineDashLengthA,
SplashCoord lineDashPhaseA);
+ void clipResetToRect(SplashCoord x0, SplashCoord y0,
+ SplashCoord x1, SplashCoord y1);
+ SplashError clipToRect(SplashCoord x0, SplashCoord y0,
+ SplashCoord x1, SplashCoord y1);
+ SplashError clipToPath(SplashPath *path, GBool eo);
+
// Set the soft mask bitmap.
void setSoftMask(SplashBitmap *softMaskA);
@@ -94,9 +103,11 @@ private:
SplashCoord lineDashPhase;
GBool strokeAdjust;
SplashClip *clip;
+ GBool clipIsShared;
SplashBitmap *softMask;
GBool deleteSoftMask;
GBool inNonIsolatedGroup;
+ GBool inKnockoutGroup;
Guchar rgbTransferR[256],
rgbTransferG[256],
rgbTransferB[256];