Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
TextPic.h
Package: SwordOnline.rar [view]
Upload User: dzyhzl
Upload Date: 2019-04-29
Package Size: 56270k
Code Size: 1k
Category:
Game Server Simulator
Development Platform:
C/C++
- //////////////////////////////////////////////////////////////////////////////////////
- // 文件名 : TextPic.h
- // 创建人 : 王西贝
- // 创建时间 : 2003-6-22 23:01:40
- // 文件说明 : 文字嵌入式图片
- //////////////////////////////////////////////////////////////////////////////////////
- #ifndef __TEXTPIC_H__
- #define __TEXTPIC_H__
- #include "../../Engine/Src/Text.h"
- #include "UiImage.h"
- #include <vector>
- using namespace std;
- struct iRepresentShell;
- class KInlinePicSink : public IInlinePicEngineSink
- {
- public:
- KInlinePicSink();
- BOOL Init(iRepresentShell*);
- BOOL UnInit();
- protected:
- iRepresentShell* m_pRepShell;
- vector<KUiImageRef> m_Images;
- vector<KImageParam> m_ImageParams;
- vector<KUiImageRef> m_CustomImages;
- vector<KImageParam> m_CustomImageParams;
- public:
- //动态加载图片,获取一个WORD,即图片的索引
- long AddCustomInlinePic(unsigned short& wIndex, const char* szSprPathName);
- //动态卸载图片
- long RemoveCustomInlinePic(unsigned short wIndex);
- long GetPicSize(unsigned short wIndex, int& cx, int& cy);
- long DrawPic(unsigned short wIndex, int x, int y);
- };
- #endif //__TEXTPIC_H__