|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
//<2F>ļ<EFBFBD>: <20><>ʽת<CABD><D7AA><EFBFBD><EFBFBD>
|
|
|
|
|
|
//<2F><>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD>:
|
|
|
|
|
|
// <09><><EFBFBD>Ӷ<EFBFBD>Ӧ<EFBFBD><D3A6><EFBFBD>ο⡢<CEBF><E2A1A2><EFBFBD>ſ<EFBFBD><C5BF><EFBFBD>֧<EFBFBD>֣<EFBFBD><D6A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͡<EFBFBD><CDA1><EFBFBD><EFBFBD>͡<EFBFBD><CDA1><EFBFBD>
|
|
|
|
|
|
//
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д: 2011-5-10
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
#include ".\otherformat.h"
|
|
|
|
|
|
|
|
|
|
|
|
namespace NFormatReader
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
class AFX_EXT_CLASS CEmbellishBaseLib : public COtherFormat //ggff2025
|
|
|
|
|
|
{
|
|
|
|
|
|
public:
|
|
|
|
|
|
CEmbellishBaseLib(void);
|
|
|
|
|
|
~CEmbellishBaseLib(void);
|
|
|
|
|
|
|
|
|
|
|
|
void InitLib(LPCTSTR lpszLibName);
|
|
|
|
|
|
void ClearLib(void);
|
|
|
|
|
|
|
|
|
|
|
|
void* FindToAddHowToViewCurve(LPCTSTR lpszCurveType, long color=-1); //<2F><>m_pLibXY<58>в<EFBFBD><D0B2><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD>IJ<EFBFBD><C4B2><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD>ص<EFBFBD><D8B5>Dz<EFBFBD><C7B2>ҵ<EFBFBD><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8>
|
|
|
|
|
|
void* FindToAddHowToViewPoint(LPCTSTR lpszPointType, long color=-1);
|
|
|
|
|
|
int SetCurveMarkName(void* pHowToViewCurve, long color); //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɫ<EFBFBD><C9AB>չ<EFBFBD><D5B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
int SetPointMarkName(void* pHowToViewPoint, long color); //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɫ<EFBFBD><C9AB>չ<EFBFBD><D5B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
int SetPointMarkWidth(void* pHowToViewPoint, double dMarkWidth);
|
|
|
|
|
|
int SetPointFontWidth(void* pHowToViewPoint, double width, double height, bool bAutoWidth=true);
|
|
|
|
|
|
void SetCurveEmbellishWidth(void* pHowToViewCurve, double dCurveWidth);
|
|
|
|
|
|
|
|
|
|
|
|
void* FindToAddMark(LPCTSTR lpszMarkName, long color=-1); //<2F><>m_pLibXY<58>в<EFBFBD><D0B2><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD>ķ<EFBFBD><C4B7>ţ<EFBFBD><C5A3><EFBFBD><EFBFBD>ҵ<EFBFBD><D2B5><EFBFBD><F3B2A2BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӵ<EFBFBD><D3B5><EFBFBD>ǰͼ<C7B0><CDBC><EFBFBD>У<EFBFBD><D0A3><EFBFBD><EFBFBD>ص<EFBFBD><D8B5>ǵ<EFBFBD>ǰͼ<C7B0><CDBC><EFBFBD>еķ<D0B5><C4B7><EFBFBD>ָ<EFBFBD><D6B8>
|
|
|
|
|
|
CString GetColorMarkName(CString strMarkName, long color);
|
|
|
|
|
|
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͵IJ<CDB5><C4B2><EFBFBD>
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD>Layer:\CurveType\<5C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
CString GetCurveTypeLayer(int nCurveType);
|
|
|
|
|
|
CString GetCurveTypeLayer(CString strCurveType);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//<2F><><EFBFBD>þ<EFBFBD><C3BE><EFBFBD><EFBFBD>Ͳ<EFBFBD><CDB2><EFBFBD>
|
|
|
|
|
|
//<2F><>λ<EFBFBD><CEBB><EFBFBD>Σ<EFBFBD>Layer:\PointType\<5C><>λ<EFBFBD><CEBB><EFBFBD>ͺ<EFBFBD>
|
|
|
|
|
|
CString GetPointTypeLayer(int nPointType);
|
|
|
|
|
|
CString GetPointTypeLayer(CString strPointType);
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
void* m_pLibXY;
|
|
|
|
|
|
double GetScale(void);
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
}//namespace
|
|
|
|
|
|
|
|
|
|
|
|
using namespace NFormatReader;
|
|
|
|
|
|
|