ELLIPS.h
上传用户:shangwu01
上传日期:2013-04-22
资源大小:707k
文件大小:2k
- // ELLIPS.h: interface for the CELLIPS class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_ELLIPS_H__E2534E0F_041D_47F1_B5AA_48DD5186EE6F__INCLUDED_)
- #define AFX_ELLIPS_H__E2534E0F_041D_47F1_B5AA_48DD5186EE6F__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CELLIPS
- {
- class ellips_data
- {
- public:
- ellips_data(CPoint certrepoint,CPoint bottomright,int m_line_style,int m_line_width,COLORREF m_line_color);
- virtual ~ellips_data();
- public:
- CPoint certrepoint;
- CPoint bottomright;
- int m_line_style;
- int m_line_width;
- COLORREF m_line_color;
- };
- public:
- CPtrArray m_ellips_save;
- public:
- CELLIPS();
- virtual ~CELLIPS();
- void ellips_drawAttribution(CDC*pDC);
- void ellips_drawMove(CPoint m_pointorg,CPoint m_pointfal,CDC *pDC,int m_line_style,int m_line_width,COLORREF m_line_color);
- void ellips_store(CPoint m_pointorg,CPoint m_pointfal,int m_line_style,int m_line_width,COLORREF m_line_color);
- void ellips_catchcertre(CPoint point,CRgn *prgn,CDC *pDC);
- void ellips_fillpoint(CPoint point,CDC *pDC);
- void ellips_searchcertre(CPoint point,CPoint *pnearpoint,CRgn *prgn);
- bool ellips_searchellips(CPoint point,int *pNum,int *pnStyle,CDC* pmdc);
- bool ellips_editselect(CPoint point,CPoint *ppointorg,int Num);
- void ellips_editmove(CPoint pointorg,CPoint pointfal,int Num,CDC *pDC);
- void ellips_editmovestore(CPoint pointorg,CPoint pointfal,int Num);
- void ellips_del(int Num);
-
- };
- #endif // !defined(AFX_ELLIPS_H__E2534E0F_041D_47F1_B5AA_48DD5186EE6F__INCLUDED_)