Draw.h
资源名称:CAD.zip [点击查看]
上传用户:hehe2haha
上传日期:2013-08-16
资源大小:161k
文件大小:1k
源码类别:
CAD
开发平台:
Visual C++
- // Draw.h: interface for the Draw class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_DRAW_H__A758E7C4_F03D_4845_86BD_C2B784E23253__INCLUDED_)
- #define AFX_DRAW_H__A758E7C4_F03D_4845_86BD_C2B784E23253__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CDraw
- {
- public:
- CDraw();
- virtual ~CDraw();
- public:
- static void DrawLine(HDC hdc,POINT ptFirstPos, POINT ptSecondPos);
- static void DrawCircle(HDC hdc,POINT ptCenter,int nRadius);
- static int Distance(POINT ptPos1, POINT ptPos2);
- };
- #endif // !defined(AFX_DRAW_H__A758E7C4_F03D_4845_86BD_C2B784E23253__INCLUDED_)