⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 splashscreen.h

📁 这是一个做pdf阅读器的源代码文件,是大家学习阅读器资料的很好参考
💻 H
字号:
//========================================================================//// SplashScreen.h////========================================================================#ifndef SPLASHSCREEN_H#define SPLASHSCREEN_H#include <aconf.h>#ifdef USE_GCC_PRAGMAS#pragma interface#endif#include "SplashTypes.h"//------------------------------------------------------------------------// SplashScreen//------------------------------------------------------------------------class SplashScreen {public:  SplashScreen(SplashScreenParams *params);  SplashScreen(SplashScreen *screen);  ~SplashScreen();  SplashScreen *copy() { return new SplashScreen(this); }  // Return the computed pixel value (0=black, 1=white) for the gray  // level <value> at (<x>, <y>).  int test(int x, int y, Guchar value);  // Returns true if value is above the white threshold or below the  // black threshold, i.e., if the corresponding halftone will be  // solid white or black.  GBool isStatic(Guchar value);private:  void buildDispersedMatrix(int i, int j, int val,			    int delta, int offset);  void buildClusteredMatrix();  int distance(int x0, int y0, int x1, int y1);  void buildSCDMatrix(int r);  Guchar *mat;			// threshold matrix  int size;			// size of the threshold matrix  Guchar minVal;		// any pixel value below minVal generates				//   solid black  Guchar maxVal;		// any pixel value above maxVal generates				//   solid white};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -