splashfontfile.h

来自「swf文件查看工具,能够看flash文件的格式」· 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 + -
显示快捷键?