CIRCLE.h
上传用户:shangwu01
上传日期:2013-04-22
资源大小:707k
文件大小:2k
- // CIRCLE.h: interface for the CCIRCLE class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_CIRCLE_H__D363B8D7_DE45_4384_B5C6_3C65EA78EDC1__INCLUDED_)
- #define AFX_CIRCLE_H__D363B8D7_DE45_4384_B5C6_3C65EA78EDC1__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CCIRCLE
- {
- class circle_data
- {
- public:
- circle_data(CPoint certrepoint,double circleR,int m_line_style,int m_line_width,COLORREF m_line_color);
- virtual ~circle_data();
- public:
- CPoint certrepoint;
- double circleR;
- int m_line_style;
- int m_line_width;
- COLORREF m_line_color;
- };
- public:
- CCIRCLE();
- virtual ~CCIRCLE();
- void circle_drawAttribution(CDC* pDC);
- void circle_drawMove(CPoint m_pointorg,CPoint m_pointfal,CDC*pDC,int m_line_style,int m_line_width,COLORREF m_line_color);
- void circle_store(CPoint m_pointorg,CPoint m_pointfal,int m_line_style,int m_line_width,COLORREF m_line_color);
- void circle_catchcertre(CPoint point,CRgn *prgn,CDC *pDC);
- void circle_fillpoint(CPoint point,CDC* pDC);
- void circle_searchcertre(CPoint point,CPoint *pnearpoint,CRgn *prgn);
- bool circle_searchcircle(CPoint point,int *pNum,int *pnStyle,CDC *pmdc);
- bool circle_editselect(CPoint point,CPoint*ppointorg,int Num);
- void circle_editmove(CPoint pointorg,CPoint pointfal,int Num,CDC* pDC);
- void circle_editmovestore(CPoint pointorg,CPoint pointfal,int Num);
- void circle_del(int Num);
- public:
- CPtrArray m_circle_save;
- };
- #endif // !defined(AFX_CIRCLE_H__D363B8D7_DE45_4384_B5C6_3C65EA78EDC1__INCLUDED_)