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

📄 gdrawdoc.h

📁 VS2005 MFC 实现的画图程序
💻 H
字号:
// GDrawDoc.h : CGDrawDoc 类的接口
//


#pragma once



class CGDrawDoc : public CDocument
{
protected: // 仅从序列化创建
	CGDrawDoc();
	DECLARE_DYNCREATE(CGDrawDoc)

// 属性
public:
	
	int size;
	COLORREF bg_color;
    struct pro{
		int shape;
		COLORREF colors,fill_color;

		int px;
		int py;
		int ppx;
		int ppy;
		int type;
		int wide;
		int count;
		CPoint *p;
	}*ptr;

	int height;
	int width;


//	 Graph_Union m_gp;
// 操作
public:

// 重写
public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);

// 实现
public:
	virtual ~CGDrawDoc();

#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// 生成的消息映射函数
protected:
	DECLARE_MESSAGE_MAP()

public:
	afx_msg void OnSave();
public:
	afx_msg void OnHide();
public:
	afx_msg void OnLine();
public:
	afx_msg void OnBkL();
public:
	afx_msg void OnCircle();
public:
	afx_msg void OnSelectGraph();
afx_msg void setfill();
public:
	afx_msg void OnRailway();
};


⌨️ 快捷键说明

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