coreoutputdev.h
来自「这是一个做pdf阅读器的源代码文件,是大家学习阅读器资料的很好参考」· C头文件 代码 · 共 62 行
H
62 行
//========================================================================//// CoreOutputDev.h//// Copyright 2004 Glyph & Cog, LLC////========================================================================#ifndef COREOUTPUTDEV_H#define COREOUTPUTDEV_H#ifdef USE_GCC_PRAGMAS#pragma interface#endif#include "SplashTypes.h"#include "SplashOutputDev.h"class TextPage;//------------------------------------------------------------------------typedef void (*CoreOutRedrawCbk)(void *data, int x0, int y0, int x1, int y1, GBool composited);//------------------------------------------------------------------------// CoreOutputDev//------------------------------------------------------------------------class CoreOutputDev: public SplashOutputDev {public: CoreOutputDev(SplashColorMode colorModeA, int bitmapRowPadA, GBool reverseVideoA, SplashColorPtr paperColorA, GBool incrementalUpdateA, CoreOutRedrawCbk redrawCbkA, void *redrawCbkDataA); virtual ~CoreOutputDev(); //----- initialization and control // End a page. virtual void endPage(); // Dump page contents to display. virtual void dump(); //----- special access // Clear out the document (used when displaying an empty window). void clear();private: GBool incrementalUpdate; // incrementally update the display? CoreOutRedrawCbk redrawCbk; void *redrawCbkData;};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?