You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
815 B
C++
38 lines
815 B
C++
//////////////////////////////////////////////////////////////////////////////
|
|
//文件 ImageRect.h
|
|
//主要功能:
|
|
//
|
|
//程序编写: 2005-12-07
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma once
|
|
#include ".\Texture.h"
|
|
|
|
namespace NCube
|
|
{
|
|
|
|
//矩形图片
|
|
class AFX_EXT_CLASS CRectTexture :
|
|
public CTexture
|
|
{
|
|
public:
|
|
CRectTexture(void);
|
|
virtual ~CRectTexture(void);
|
|
|
|
virtual void Serialize(CArchive& ar, const short &ver);
|
|
virtual void Write(CFile& fw, const short &ver);
|
|
virtual int Read(CFile& fr, const short &ver);
|
|
virtual BOOL IsInRange(CRect8& range);
|
|
virtual void GetRange(CRect8& range);
|
|
virtual void GetRange(CPoint3D& minPoint, CPoint3D& maxPoint);
|
|
|
|
void operator=(CRectTexture& ir);
|
|
|
|
DWORD m_nFlags;
|
|
CPoint3D m_point[2];
|
|
CString m_strFileName;
|
|
};
|
|
|
|
}//namesapce
|
|
|