www.pudn.com > CGMEC013395.rar > Circle.h
#if !defined(AFX_CIRCLE_H__0D91EA6B_DE4A_4255_8D4A_BAA8D8E14C3F__INCLUDED_)
#define AFX_CIRCLE_H__0D91EA6B_DE4A_4255_8D4A_BAA8D8E14C3F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Circle.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CCircle command target
class CCircle : public CCmdTarget
{
DECLARE_DYNCREATE(CCircle)
CCircle();
CCircle(CPoint p, int R);
// Attributes
public:
// Operations
public:
int GetR();
CPoint GetCenterPoint();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCircle)
//}}AFX_VIRTUAL
// Implementation
protected:
int m_R;
CPoint m_center;
virtual ~CCircle();
// Generated message map functions
//{{AFX_MSG(CCircle)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CIRCLE_H__0D91EA6B_DE4A_4255_8D4A_BAA8D8E14C3F__INCLUDED_)