www.pudn.com > roll.rar > CURVE2DW.H


// Curve2DW.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// CCurve2DW window 
 
class CCurve2DW : public CWnd 
{ 
	int type,nx,ny; 
	static COLORREF crColor[13]; 
	void MarkPoint(CDC* dc,double xp,double yp,short n); 
// Construction 
public: 
	CCurve2DW(); 
 
// Attributes 
public: 
	void DrawCoordinate(CDC *dc,double xmin,double xmax,double ymin,double ymax, 
		double x,double y,double xi,double yi,int nx,int ny,int Type); 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CCurve2DW) 
	protected: 
	virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~CCurve2DW(); 
 
	// Generated message map functions 
protected: 
	//{{AFX_MSG(CCurve2DW) 
	afx_msg void OnPaint(); 
	afx_msg void OnRButtonUp(UINT nFlags, CPoint point); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
private: 
	LOGFONT logfont; 
	CString strHorz,strVert; 
	BOOL IsMarked; 
}; 
 
/////////////////////////////////////////////////////////////////////////////