⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ellipse.h

📁 一个复杂的画图系统
💻 H
字号:
// Ellipse.h: interface for the CEllipse class.////////////////////////////////////////////////////////////////////////#if !defined(AFX_ELLIPSE_H__7FF1C242_FD5A_11D2_B2E0_B848A55E4656__INCLUDED_)#define AFX_ELLIPSE_H__7FF1C242_FD5A_11D2_B2E0_B848A55E4656__INCLUDED_#if _MSC_VER >= 1000#pragma once#endif // _MSC_VER >= 1000#include "Shape.h"class CEllipse : public CShape  {//Member variablespublic:	CRect m_tRect;public:	void SetBox(CPoint& pt1,CPoint& pt2);	void Draw(CDC* pDC);	BOOL IsEllipseEmpty()	{		return m_tRect.IsRectEmpty();	}#ifdef _DEBUG	virtual void AssertValid() const;	virtual void Dump(CDumpContext& dc) const;#endif	//Constructors and destructorspublic:
	void UpdateProp(int sel);
	void InitProp();
	void CalForRot(CPoint &pt);
	void invalid(CGeditorView *pView);
	void rotate(int rsel,CDC *pDC, CPoint pt, CGeditorView *pView);
	void Mirror(int syd, CDC *pDC, CPoint &basept, CGeditorView *pView);
	int BeSeled;
	int NoRotateInit;	void SetBox(CRect &rect);
	CShape * copys(TCHAR &ch);
	int InTest(CPoint pt);
	void dragobj (int leash,CDC *pDC,CPoint point,CGeditorView* pView);//,CDC *pDC,CPoint point,CGeditorView *pView);
	void Serialize(CArchive& ar);	CEllipse();	CEllipse(CPoint& pt1,CPoint& pt2);	virtual ~CEllipse();protected:	DECLARE_SERIAL(CEllipse)};#endif // !defined(AFX_ELLIPSE_H__7FF1C242_FD5A_11D2_B2E0_B848A55E4656__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -