www.pudn.com > 4533566799.rar > FractalDoc.h


//贵州省安顺市第二高级中学 高二一班 蒋伟	 
//2002.7.1 
//请勿修改版权信息 谢谢 
//Neil 
// 
// FractalDoc.h : interface of the CFractalDoc class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_FRACTALDOC_H__BFC71733_3934_479B_A010_EDE3848F281A__INCLUDED_) 
#define AFX_FRACTALDOC_H__BFC71733_3934_479B_A010_EDE3848F281A__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
 
class CFractalDoc : public CDocument 
{ 
protected: // create from serialization only 
	DECLARE_DYNCREATE(CFractalDoc) 
 
// Attributes 
public: 
	CFractalDoc(); 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CFractalDoc) 
	public: 
	virtual BOOL OnNewDocument(); 
	virtual void Serialize(CArchive& ar); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	UINT m_linewidth; 
	COLORREF m_color; 
	BOOL m_bDrawPixel; 
	UINT m_branch_num; 
	UINT m_last_branch_length; 
	UINT m_branch_length; 
	UINT m_right_branch_angle; 
	UINT m_left_branch_angle; 
	double m_cut_rate; 
	virtual ~CFractalDoc(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CFractalDoc) 
		// NOTE - the ClassWizard will add and remove member functions here. 
		//    DO NOT EDIT what you see in these blocks of generated code ! 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_FRACTALDOC_H__BFC71733_3934_479B_A010_EDE3848F281A__INCLUDED_)