Line.h
资源名称:CAD.zip [点击查看]
上传用户:hehe2haha
上传日期:2013-08-16
资源大小:161k
文件大小:1k
源码类别:
CAD
开发平台:
Visual C++
- // Line.h: interface for the CLine class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_LINE_H__6D68BA0D_A19F_4C30_BB62_6D0F40293912__INCLUDED_)
- #define AFX_LINE_H__6D68BA0D_A19F_4C30_BB62_6D0F40293912__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "Shape.h"
- class CLine : public CShape
- {
- public:
- CLine();
- virtual ~CLine();
- public:
- virtual BOOL pick(POINT);
- virtual void Draw(HDC);
- virtual void DrawRect(HDC);
- virtual void SaveClassName(ostream &ofstr)
- {
- ofstr<<m_className;
- }
- };
- #endif // !defined(AFX_LINE_H__6D68BA0D_A19F_4C30_BB62_6D0F40293912__INCLUDED_)