cutdown.cpp

来自「图像受到裁剪攻击时的一些算法 只要输入图像和想要裁剪的位置 就可以得到想要的结果」· C++ 代码 · 共 50 行

CPP
50
字号
// cutdown.cpp : implementation file
//

#include "stdafx.h"
#include "wang.h"
#include "cutdown.h"

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

/////////////////////////////////////////////////////////////////////////////
// cutdown dialog


cutdown::cutdown(CWnd* pParent /*=NULL*/)
	: CDialog(cutdown::IDD, pParent)
{
	//{{AFX_DATA_INIT(cutdown)
	m_x0 = 0;
	m_y0 = 0;
	m_x2 = 0;
	m_y2 = 0;
	//}}AFX_DATA_INIT
}


void cutdown::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(cutdown)
	DDX_Text(pDX, IDC_EDIT1, m_x0);
	DDX_Text(pDX, IDC_EDIT2, m_y0);
	DDX_Text(pDX, IDC_EDIT3, m_x2);
	DDX_Text(pDX, IDC_EDIT4, m_y2);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// cutdown message handlers

⌨️ 快捷键说明

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