From 34ae382915d9d9b2b3c015fee3c24907a6b52b8b Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Sat, 7 Jan 2012 17:14:05 +0100 Subject: 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 --- splash/SplashState.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'splash/SplashState.h') 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 -- cgit v1.2.3