1 //========================================================================
5 //========================================================================
10 #ifdef USE_GCC_PRAGMAS
14 #include "SplashTypes.h"
16 //------------------------------------------------------------------------
18 //------------------------------------------------------------------------
23 SplashScreen(int sizeA
);
24 SplashScreen(SplashScreen
*screen
);
27 SplashScreen
*copy() { return new SplashScreen(this); }
29 // Return the computed pixel value (0=black, 1=white) for the gray
30 // level <value> at (<x>, <y>).
31 int test(int x
, int y
, SplashCoord value
);
33 // Returns true if value is above the white threshold or below the
34 // black threshold, i.e., if the corresponding halftone will be
35 // solid white or black.
36 GBool
isStatic(SplashCoord value
);
40 SplashCoord
*mat
; // threshold matrix
41 int size
; // size of the threshold matrix
42 SplashCoord minVal
; // any pixel value below minVal generates
44 SplashCoord maxVal
; // any pixel value above maxVal generates