📄 mypoint2.cpp
字号:
// Mypoint2.cpp: implementation of the CMypoint class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "VCexpshi10.h"
//#include "Mypoint2.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
/*IMPLEMENT_SERIAL(CMypoint,CObject,0);
CMypoint::CMypoint()
{
x=y=r=0;
}
CMypoint::~CMypoint()
{
}
CMypoint::CMypoint(int a, int b, int r1)
{
x=a;
y=b;
r=r1;
}
void CMypoint::Serialize(CArchive &ar)
{
if(ar.IsStoring())
ar<<x<<y<<r;
else
ar>>x>>y>>r;
}
void CMypoint::Draw(CDC* pdc)
{
pdc->Ellipse(x-r,y-r,x+r,y+r);
}
*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -