diff options
author | Albert Astals Cid <aacid@kde.org> | 2012-01-07 17:14:05 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2012-01-07 17:14:05 +0100 |
commit | 34ae382915d9d9b2b3c015fee3c24907a6b52b8b (patch) | |
tree | 90e98ce35e2e8b2c610a96eab4d8e41064ab2929 /splash/SplashState.h | |
parent | 51ca2b7c7dec5430d29860fd887ad5c5d9b3f574 (diff) |
xpdf303: Merge some stuff in Splash [Thomas Freitag]
1. merge the complete pipe changes
a) including the overprint implementation from Derek used by pipe
b) including the transfer function implementation
2. Two changes (not really a merge) to get it compiled under windows (in
GlobalParams.cc & PDFDoc.cc)
3. merge fill and stroke changes
a) including merge of SplashClip.cc
b) including merge of SplashXPathScanner.cc
Diffstat (limited to 'splash/SplashState.h')
-rw-r--r-- | splash/SplashState.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/splash/SplashState.h b/splash/SplashState.h index 63dadc62..214bffa1 100644 --- a/splash/SplashState.h +++ b/splash/SplashState.h @@ -87,6 +87,9 @@ public: void setStrokeOverprint(GBool strokeOverprintA) { strokeOverprint = strokeOverprintA; } void setOverprintMode(int overprintModeA) { overprintMode = overprintModeA; } + // Set the transfer function.
+ void setTransfer(Guchar *red, Guchar *green, Guchar *blue, Guchar *gray);
+
private: SplashState(SplashState *state); @@ -114,6 +117,15 @@ private: GBool fillOverprint; GBool strokeOverprint; int overprintMode; + Guchar rgbTransferR[256],
+ rgbTransferG[256],
+ rgbTransferB[256];
+ Guchar grayTransfer[256];
+ Guchar cmykTransferC[256],
+ cmykTransferM[256],
+ cmykTransferY[256],
+ cmykTransferK[256];
+ Guint overprintMask;
SplashState *next; // used by Splash class |