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.

45 lines
786 B
C

1 month ago
#pragma once
#include "CompositeDrawObj.h"
namespace Plate
{
class IDataStrategy;
class AFX_EXT_CLASS CChartObj : public CCompositeDrawObj
{
public:
CChartObj(void);
~CChartObj(void);
//*baseextend <20><><EFBFBD><EFBFBD>*/
void GetRange(CRect8& range);
BOOL IsInRange(CRect8& range);
void Offset(double dx, double dy);
void ScaleCoor(double xs, double ys, double dx, double dy);
void Rotate(double xs, double ys, double angle);
//CRect8 GetRect();
void SetRect(CRect8 rc);
IDataStrategy* GetStrategy();
void SetStrategy(IDataStrategy* pStrategy);
virtual BOOL DataLoad();
virtual void Draw(CXyDC &dc);
virtual void Serialize(CArchive& ar, const short &ver);
protected:
IDataStrategy* m_pStrategy;
//IPointTypeMgr* m_pMapMgr;
};
}