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

1 month ago
//////////////////////////////////////////////////////////////////////////////
//<2F>ļ<EFBFBD> ImageRect.h
//<2F><>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD>:
//
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д: 2005-12-07
/////////////////////////////////////////////////////////////////////////////
#pragma once
#include ".\Texture.h"
namespace NCube
{
//<2F><><EFBFBD><EFBFBD>ͼƬ
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