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

📄 cutdown.cpp

📁 图像受到裁剪攻击时的一些算法 只要输入图像和想要裁剪的位置 就可以得到想要的结果
💻 CPP
字号:
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -