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.
|
|
|
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
//<2F>ļ<EFBFBD> OtherFormat.h
|
|
|
|
|
|
//<2F><>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD>:
|
|
|
|
|
|
//
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д: 2005-12-07
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
namespace NFormatReader
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
class AFX_EXT_CLASS COtherFormat
|
|
|
|
|
|
{
|
|
|
|
|
|
public:
|
|
|
|
|
|
COtherFormat(void);
|
|
|
|
|
|
virtual ~COtherFormat(void);
|
|
|
|
|
|
|
|
|
|
|
|
void* m_pXy;
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
virtual void* GetXY(void);
|
|
|
|
|
|
|
|
|
|
|
|
virtual POSITION AddElement(void* pElement, int type);
|
|
|
|
|
|
POSITION AddCurve(CPointList& dp, int curveType=0, double curveWidth=0, COLORREF curveColor=0);
|
|
|
|
|
|
POSITION InsertElementAfter(POSITION pos, void* pElement, int type);
|
|
|
|
|
|
|
|
|
|
|
|
CString m_strRootLayer;
|
|
|
|
|
|
virtual void SetCurrentLayer(CString strLayer);
|
|
|
|
|
|
|
|
|
|
|
|
void SetCurrentLayer(void* pLayer); //CLayer* pLayer
|
|
|
|
|
|
void* GetCurrentLayer(void);
|
|
|
|
|
|
|
|
|
|
|
|
void SetElementColor(POSITION pos,COLORREF color);
|
|
|
|
|
|
|
|
|
|
|
|
void* GetCurve(POSITION pos);
|
|
|
|
|
|
void* IsType(POSITION pos, int nType);
|
|
|
|
|
|
|
|
|
|
|
|
int SetMapUnit(CString strUnit); //<2F><><EFBFBD><EFBFBD>ͼ<EFBFBD><CDBC><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD>ص<EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
static CString GetLayerColor(long nColor); //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɫ<EFBFBD><C9AB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD><C6B7><EFBFBD>
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
using namespace NFormatReader;
|