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

📄 line.cpp

📁 提供一个图形工具界面
💻 CPP
字号:
// Line.cpp : implementation file
//

#include "stdafx.h"
#include "mdrowpen.h"
#include "Line.h"

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

/////////////////////////////////////////////////////////////////////////////
// CLine

//IMPLEMENT_DYNCREATE(CLine, CView)

//DEL CLine::CLine()
//DEL {
//DEL }

/*CLine(CPoint StartPoint,CPoint Endpoint,CPen myPen)
{

}
*/
//DEL CLine::~CLine()
//DEL {
//DEL }

/*void Draw(CDC *pDC)
{
	pDC->SelectObject(&myPen);
	
	
	pDC->MoveTo(StartPoint);
	pDC->LineTo(EndPoint);
}
*/
//BEGIN_MESSAGE_MAP(CLine, CView)
	//{{AFX_MSG_MAP(CLine)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
//END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CLine drawing

//DEL void CLine::OnDraw(CDC* pDC)
//DEL {
//DEL 	CDocument* pDoc = GetDocument();
//DEL 	// TODO: add draw code here
//DEL }

/////////////////////////////////////////////////////////////////////////////
// CLine diagnostics

#ifdef _DEBUG
//DEL void CLine::AssertValid() const
//DEL {
//DEL 	CView::AssertValid();
//DEL }

//DEL void CLine::Dump(CDumpContext& dc) const
//DEL {
//DEL 	CView::Dump(dc);
//DEL }
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CLine message handlers

⌨️ 快捷键说明

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