Change the translation of the "Help" menu item to "?", so that the menu can be displa...
[reactos.git] / rosapps / smartpdf / poppler / splash / SplashScreen.h
1 //========================================================================
2 //
3 // SplashScreen.h
4 //
5 //========================================================================
6
7 #ifndef SPLASHSCREEN_H
8 #define SPLASHSCREEN_H
9
10 #ifdef USE_GCC_PRAGMAS
11 #pragma interface
12 #endif
13
14 #include "SplashTypes.h"
15
16 //------------------------------------------------------------------------
17 // SplashScreen
18 //------------------------------------------------------------------------
19
20 class SplashScreen {
21 public:
22
23 SplashScreen(int sizeA);
24 SplashScreen(SplashScreen *screen);
25 ~SplashScreen();
26
27 SplashScreen *copy() { return new SplashScreen(this); }
28
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);
32
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);
37
38 private:
39
40 SplashCoord *mat; // threshold matrix
41 int size; // size of the threshold matrix
42 SplashCoord minVal; // any pixel value below minVal generates
43 // solid black
44 SplashCoord maxVal; // any pixel value above maxVal generates
45 // solid white
46 };
47
48 #endif