ARC.h
上传用户:shangwu01
上传日期:2013-04-22
资源大小:707k
文件大小:2k
- // ARC.h: interface for the CARC class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_ARC_H__AB16A077_679B_45A1_A1B2_8112B0FC112B__INCLUDED_)
- #define AFX_ARC_H__AB16A077_679B_45A1_A1B2_8112B0FC112B__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CARC
- {
- class arc_data
- {
- public:
- arc_data(CPoint certrepoint,CPoint startpoint,CPoint endpoint,int m_line_style,int m_line_width,COLORREF m_line_color);
- virtual ~arc_data();
- public:
- CPoint certrepoint;
- CPoint startpoint;
- CPoint endpoint;
- int m_line_style;
- int m_line_width;
- COLORREF m_line_color;
- };
- public:
- CARC();
- virtual ~CARC();
- public:
- CPtrArray m_arc_save;
- public:
- void arc_drawMoveline(CPoint m_pointorg,CPoint m_pointfal,CDC *pDC,int m_line_style,int m_line_width,COLORREF m_line_color);
- void arc_drawMovearc(CPoint m_pointorg,CPoint m_pointfal,CPoint m_pointend,CDC *pDC,int m_line_style,int m_line_width,COLORREF m_line_color);
- void arc_drawAttribution(CDC *pDC);
- void arc_drawstore(CPoint m_pointorg,CPoint m_pointfal,CPoint m_pointend,int m_line_style,int m_line_width,COLORREF m_line_color);
- void arc_catchend(CPoint point,CRgn* prgn,CDC *pDC);
- void arc_catchcertre(CPoint point,CRgn* prgn,CDC *pDC);
- void arc_fillpoint(CPoint point,CDC *pDC);
- void arc_searchend(CPoint point,CPoint *pnearpoint,CRgn *prgn);
- void arc_searchcertre(CPoint point,CPoint *pnearpoint,CRgn *prgn);
- bool arc_searcharc(CPoint point,int *pNum,int *pnStyle,CDC*pmdc);
- bool arc_editselect(CPoint point,CPoint *ppointorg,int Num);
- void arc_editmove(CPoint pointorg,CPoint pointfal,int Num,CDC*pDC);
- void arc_editmovestore(CPoint pointorg,CPoint pointfal,int Num);
- void arc_del(int Num);
- };
- #endif // !defined(AFX_ARC_H__AB16A077_679B_45A1_A1B2_8112B0FC112B__INCLUDED_)