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

📄 shape.cpp

📁 一个复杂的画图系统
💻 CPP
字号:
// GraphCell.cpp: implementation of the CGraphCell class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "geditor.h"
#include "Shape.h"

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

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
IMPLEMENT_SERIAL(CShape, CObject,1)

CShape::CShape()
{
	m_color = 0;
	dragmode=10;//0==create mode,1-9:for selected and move;10=create
	width=1;
	linesty=PS_SOLID;
//	p=(Cprop*)AfxGetApp()->
//			m_pMainWnd->GetDescendantWindow(IDD_PRPTBAR);
	fills=1;
}

CShape::~CShape()
{

}

void CShape::Draw(CDC* pDC)
{
}

#ifdef _DEBUG
void CShape::AssertValid() const
{
	CObject::AssertValid();
	
}

void CShape::Dump(CDumpContext& dc) const
{
	CObject::Dump(dc);
}

#endif //_DEBUG

void CShape::dragobj(int leash,CDC *pDC,CPoint point,CGeditorView* pView)
{

}
void CShape::Serialize(CArchive &ar)
{
}

int CShape::InTest(CPoint pt)
{
	return 0;
}

void CShape::rotate(int rsel,CDC *pDC,CPoint pt, CGeditorView *pView)
{

}

void CShape::CalForRot(CPoint &pt)
{

}

void CShape::Mirror(int syd, CDC *pDC,CPoint &BasePt,CGeditorView* pView)
{

}

void CShape::invalid(CGeditorView *pView)
{

}

void CShape::UpdateProp(int sel)
{
}

void CShape::InitProp()
{

}

⌨️ 快捷键说明

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