📄 drafting.h
字号:
#if !defined(AFX_DRAFTING_H__B04B0A9C_5C1D_48A1_850B_54692D516E0F__INCLUDED_)
#define AFX_DRAFTING_H__B04B0A9C_5C1D_48A1_850B_54692D516E0F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define WM_ONZOOM WM_USER+5
// Drafting.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDrafting dialog
class CDrafting : public CDialog
{
// Construction
public:
CDrafting(CWnd* pParent = NULL); // standard constructor
CDrafting(double* point_x,double* point_y,double* funcof,
int degree,int nodenum);//带点指针,函数系数指针的构造函数
public:
long double f(double x);
double* p_x;
double* p_y;
double* f_c;
int ddegree;
int nnodenum;
BOOL or1,or2,or3;
// Dialog Data
//{{AFX_DATA(CDrafting)
enum { IDD = IDD_DRAFTING };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDrafting)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDrafting)
afx_msg void OnReturn();
afx_msg void OnPoints();
afx_msg void OnZoom();
afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
afx_msg void OnCurve();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DRAFTING_H__B04B0A9C_5C1D_48A1_850B_54692D516E0F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -