splashfontfile.h
来自「这是一个做pdf阅读器的源代码文件,是大家学习阅读器资料的很好参考」· C头文件 代码 · 共 61 行
H
61 行
//========================================================================//// SplashFontFile.h////========================================================================#ifndef SPLASHFONTFILE_H#define SPLASHFONTFILE_H#include <aconf.h>#ifdef USE_GCC_PRAGMAS#pragma interface#endif#include "gtypes.h"#include "SplashTypes.h"class GString;class SplashFontEngine;class SplashFont;class SplashFontFileID;//------------------------------------------------------------------------// SplashFontFile//------------------------------------------------------------------------class SplashFontFile {public: virtual ~SplashFontFile(); // Create a new SplashFont, i.e., a scaled instance of this font // file. virtual SplashFont *makeFont(SplashCoord *mat, SplashCoord *textMat) = 0; // Get the font file ID. SplashFontFileID *getID() { return id; } // Increment the reference count. void incRefCnt(); // Decrement the reference count. If the new value is zero, delete // the SplashFontFile object. void decRefCnt();protected: SplashFontFile(SplashFontFileID *idA, char *fileNameA, GBool deleteFileA); SplashFontFileID *id; GString *fileName; GBool deleteFile; int refCnt; friend class SplashFontEngine;};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?