|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
//<2F>ļ<EFBFBD>: DFDraw<61><77><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͼԪ<CDBC>ؽӿ<D8BD><D3BF><EFBFBD>
|
|
|
|
|
|
//<2F><>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD>:
|
|
|
|
|
|
//
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д: 2005-12-07
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
#include "fmn.h"
|
|
|
|
|
|
|
|
|
|
|
|
class AFX_EXT_CLASS CFmnDraw :
|
|
|
|
|
|
public CFMN
|
|
|
|
|
|
{
|
|
|
|
|
|
public:
|
|
|
|
|
|
CFmnDraw(void);
|
|
|
|
|
|
virtual ~CFmnDraw(void);
|
|
|
|
|
|
|
|
|
|
|
|
int stepx,stepy; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>
|
|
|
|
|
|
int steprx,stepry; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>
|
|
|
|
|
|
int width; //<2F><><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>
|
|
|
|
|
|
int IsQuick;
|
|
|
|
|
|
int display_mode;
|
|
|
|
|
|
|
|
|
|
|
|
int Draw(CDC* pDC, CScreenXY* pCR, double &x, double &y,int IsXY);
|
|
|
|
|
|
void Draw(CDC* pDC, CScreenXY& sr);
|
|
|
|
|
|
void Draw(void DrawCurve(CCurve &curve));
|
|
|
|
|
|
void DrawM(CDC* pDC, CScreenXY& sr,int i);
|
|
|
|
|
|
void DrawN(CDC* pDC, CScreenXY& sr,int j);
|
|
|
|
|
|
void DrawM(void DrawCurve(CCurve &curve),int i);
|
|
|
|
|
|
void DrawN(void DrawCurve(CCurve &curve),int j);
|
|
|
|
|
|
void DrawPoint(CDC* pDC, CScreenXY& sr, CColorBase* pColor);
|
|
|
|
|
|
void DrawXY(CDC *pDC, CScreenXY& sr,void *pColor);
|
|
|
|
|
|
|
|
|
|
|
|
virtual void Write(CFile& fw);
|
|
|
|
|
|
virtual int Read(CFile& fr);
|
|
|
|
|
|
BOOL IsViewX(int x);
|
|
|
|
|
|
BOOL IsViewY(int y);
|
|
|
|
|
|
BOOL GetCurve(CCurve& curve, int curve_num, bool IsX);
|
|
|
|
|
|
};
|