www.pudn.com > 图像处理源代码.rar > Task2.h
#if !defined(AFX_TASK2_H__4FA4A1CD_09CE_11D5_AD34_D3504FA59247__INCLUDED_)
#define AFX_TASK2_H__4FA4A1CD_09CE_11D5_AD34_D3504FA59247__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Task2.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CTask2 dialog
typedef struct{ //指定图象变换的系数
double xscale; //----x方向的伸缩
double yscale; //----y方向的伸缩
double theta; //----旋转角度(逆时针为正)
double xoff; //----x方向的偏移
double yoff; //----y方向的偏移
}TRANS_COE;
typedef struct{ //定义实数坐标的点
double x;
double y;
}REALPOINT;
class CTask2 : public CPropertyPage
{
DECLARE_DYNCREATE(CTask2)
// Construction
public:
CTask2();
~CTask2();
// Dialog Data
//{{AFX_DATA(CTask2)
enum { IDD = IDD_TASK2 };
// NOTE - ClassWizard will add data members here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CTask2)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CTask2)
afx_msg void OnOpen();
afx_msg void OnClose();
afx_msg void OnTrans();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TASK2_H__4FA4A1CD_09CE_11D5_AD34_D3504FA59247__INCLUDED_)