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

📄 static_text_def.h.svn-base

📁 A Flash Player with ActionScript support. Write in C and C++. It have two part, one is Player and an
💻 SVN-BASE
字号:
#ifndef _STATIC_TEXT_H_#define _STATIC_TEXT_H_#include "base_types.h"#include "shape_def.h"#include "swf_file_pub.h"// 静态文字 TEXT// ===============// 静态文字(DefineText) 指在整个影片播放过程中,不会变化的文字.struct  GlyphEntry      {    UI32                 GlyphIndex;    SI32                 GlyphAdvance;    struct Matrix	 GlyphMatrix;    struct DefineShape	 Shape;};struct TextRecord       {    struct TextRecord*	NextP;    UI8			Flags;#define TextRecordType		0x1<<7#define StyleFlagsHasFont	0x1<<3#define StyleFlagsHasColor	0x1<<2#define StyleFlagsHasYOffset	0x1<<1#define StyleFlagsHasXOffset	0x1<<0    UI16                FontID;    struct RGBA         TextColor;    SI16                XOffset;    SI16                YOffset;    UI16                TextHeight;    UI8                 GlyphCount;    struct GlyphEntry   GlyphEntries[1];};// 涵盖 DefineText, DefineText2struct DefineText {    UI8                 CharacterType ; //= CharText;    UI16		CharacterID;    struct RECT         TextBounds;    struct Matrix       TextMatrix;    UI8                 GlyphBits;    UI8                 AdvanceBits;    struct TextRecord*  TextRecordsP;           //接 textrecord 链表};void stx_to_shape(swf_file_t *swf_p,struct DefineText *Text);#endif

⌨️ 快捷键说明

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