www.pudn.com > C++_Flash.rar > SWFRectangle.h
// SWFRectangle.h: interface for the CSWFRectangle class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(SWFRECTANGLE_H)
#define SWFRECTANGLE_H
#include "Definitions.h"
class CSWFRectangle
{
public:
CSWFRectangle();
virtual ~CSWFRectangle();
public:
// Public methods
void SetRectangle(RECT_F rectangle);
void SetRectangle(POINT_F location, SIZE_F size);
void GetRectangle(RECT_F& rectangle);
UCHAR* BuildSWFStream();
int GetSWFStreamLength();
private:
// Private members
RECT_F m_Rectangle;
SWF_RECT m_SWFRectangle;
UCHAR* m_SWFStream;
int m_SWFStreamLength;
};
#endif // !defined(SWFRECTANGLE_H)