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

📄 vpoint.cpp

📁 这是一个可以检索大量数据的程序
💻 CPP
字号:
// VPoint.cpp: implementation of the VPoint class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "EggCilcle.h"
#include "VPoint.h"

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

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

VPoint::VPoint()
{
	m_x=1;
	m_y=1;
}

VPoint::~VPoint()
{

}

void VPoint::DrawIt(CClientDC* pDC)
{
	pDC->Rectangle(m_x-2,m_y-2,m_x+2,m_y+2);
}

void VPoint::DeleteNotify(long oid, bmi::Dim2Index * pIndex)
{
	pIndex->Del(oid, m_x, m_y);
}

VVect::VVect()
{
	m_x1 = m_y1 = m_x2 = m_y2 = 1;
}

VVect::~VVect()
{
}

void VVect::DrawIt(CClientDC * pDC)
{
	pDC->Rectangle(m_x1,m_y1,m_x2,m_y2);
}

void VVect::DeleteNotify(long oid, bmi::Dim2Index * pIndex)
{
	pIndex->Del(oid, Left(), Right(), Top(), Bottom());
}

⌨️ 快捷键说明

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