Shape.cpp
资源名称:CAD2006.rar [点击查看]
上传用户:ckg1000
上传日期:2013-01-26
资源大小:630k
文件大小:2k
源码类别:
CAD
开发平台:
Visual C++
- // Shape.cpp: implementation of the CShape class.
- //
- //////////////////////////////////////////////////////////////////////
- #include "stdafx.h"
- #include "CAD2006.h"
- #include "Shape.h"
- #ifdef _DEBUG
- #undef THIS_FILE
- static char THIS_FILE[]=__FILE__;
- #define new DEBUG_NEW
- #endif
- //////////////////////////////////////////////////////////////////////
- // Construction/Destruction
- //////////////////////////////////////////////////////////////////////
- CShape::CShape()
- {
- }
- CShape::~CShape()
- {
- }
- void CShape::Draw(CDC *pDoc)
- {
- }
- bool CShape::Pick(CDC *pDoc, CPoint point)
- {
- return 0;
- }
- void CShape::Move(CDC *pDoc, CPoint point)
- {
- }
- void CShape::Rotate(CDC *pDC,CPoint point)
- {
- }
- void CShape::Zoom(CDC *pDoc, CPoint point)
- {
- }
- void CShape::Mirror(CDC *pDoc, CPoint point)
- {
- }
- void CShape::Fill()
- {
- }
- void CShape::SetBackColor(COLORREF color)
- {
- m_backColor = color;
- }
- void CShape::SetBorderColor(COLORREF color)
- {
- m_borderColor = color;
- }
- void CShape::SetBorderStyle(int style)
- {
- m_borderStyle = style;
- }
- void CShape::SetBorderWidth(int width)
- {
- m_borderWidth = width;
- }
- void CShape::Onmousemove(CDC *pDC, CPoint point)
- {
- }
- void CShape::OnLbuttondown(CDC *pDC,CPoint point)
- {
- }
- bool CShape::Select(CDC *pDC, CPoint point)
- {
- return true;
- }
- void CShape::Update(CDC *pDC)
- {
- }
- CPoint CShape::GetPosBegin()
- {
- return 0;
- }
- CPoint CShape::GetPosCenter()
- {
- return 0;
- }
- CPoint CShape::GetPosEnd()
- {
- return 0;
- }
- void CShape::SetPosBegin(CPoint point)
- {
- }
- void CShape::SetPosCenter(CPoint point)
- {
- }
- void CShape::SetPosEnd(CPoint point)
- {
- }
- void CShape::OnMirLBtnDn(CDC *pDC, CPoint point)
- {
- }
- void CShape::Delete(CDC *pDC)
- {
- }
- bool CShape::SelectOnePt(CDC *pDC, CPoint point)
- {
- return false;
- }
- POINT * CShape::GetPosBorder()
- {
- return 0;
- }
- void CShape::SetPosBorder(POINT *point)
- {
- }
- void CShape::KillRound(CDC *pDC)
- {
- }