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

📄 line.cpp

📁 VC++一些代码,自己制作,可以实现密码登录,有画圆等功能.
💻 CPP
字号:
// Line.cpp: implementation of the CLine class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "RJ030619.h"
#include "Line.h"

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

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CLine::CLine(CPoint pt1,CPoint pt2)//&&&&&&&&&&&&&&&&&&&&&&&
{
	m_pt1=pt1;
	m_pt2=pt2;
	//&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

}
CLine::CLine()//&&&&&&&&&&&&&&&&&&&&&&&
{
}
void CLine::DrawLine(CDC * pDC)//&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
{
	pDC->MoveTo(m_pt1);//起始点
    pDC->LineTo(m_pt2);//终点
}
CLine::~CLine()
{

}

⌨️ 快捷键说明

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