⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 imagewarpdialog.cpp

📁 visual c++数字图像与图形处理中的光盘内容
💻 CPP
字号:
// ImageWarpDialog.cpp : implementation file
//

#include "stdafx.h"
#include "ImgWarp.h"
#include "ImageWarpDialog.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CImageWarpDialog dialog


CImageWarpDialog::CImageWarpDialog(CWnd* pParent /*=NULL*/)
	: CDialog(CImageWarpDialog::IDD, pParent)
{
	//{{AFX_DATA_INIT(CImageWarpDialog)
	m_fAmplitude = 0.0f;
	m_fPeriod = 0.0f;
	m_fPhase = 0.0f;
	m_nOperation = -1;
	m_nQuality = -1;
	//}}AFX_DATA_INIT
}


void CImageWarpDialog::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CImageWarpDialog)
	DDX_Text(pDX, IDC_EDIT_AMPLITUDE, m_fAmplitude);
	DDX_Text(pDX, IDC_EDIT_PERIOD, m_fPeriod);
	DDX_Text(pDX, IDC_EDIT_PHASE, m_fPhase);
	DDX_Radio(pDX, IDC_RADIO1, m_nOperation);
	DDX_Radio(pDX, IDC_RADIO3, m_nQuality);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CImageWarpDialog, CDialog)
	//{{AFX_MSG_MAP(CImageWarpDialog)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CImageWarpDialog message handlers

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -