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

📄 ch1_1view.h

📁 简单图形处理,新手们可以看看其代码 系统框架平台主要提供统一的界面风格接口、统一的数据显示和数据访问的接口以及平台支撑系统等。 功能模块主要包括:文件、编辑、绘图、几何变换、查看、窗口、帮助等。
💻 H
字号:
// ch1_1View.h : interface of the CCh1_1View class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_CH1_1VIEW_H__60AAD957_ED0B_48FF_834E_78C547411B15__INCLUDED_)
#define AFX_CH1_1VIEW_H__60AAD957_ED0B_48FF_834E_78C547411B15__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CCh1_1View : public CScrollView
{
protected: // create from serialization only
	CCh1_1View();
	DECLARE_DYNCREATE(CCh1_1View)

// Attributes
public:
	CCh1_1Doc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCh1_1View)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate();
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void CalcWindowRect(LPRECT lpClientRect, UINT nAdjustType = adjustBorder);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CCh1_1View();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
		UINT m_nDrawType;

// Generated message map functions
protected:
	//{{AFX_MSG(CCh1_1View)
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnEditCopy();
	afx_msg void OnEditPaste();
	afx_msg void OnUpdateEditCopy(CCmdUI* pCmdUI);
	afx_msg void OnUpdateEditPaste(CCmdUI* pCmdUI);
	afx_msg void OnGeomTran();
	afx_msg void OnGeomMirv();
	afx_msg void OnGeomMirh();
	afx_msg void OnGeomRota();
	afx_msg void OnGeomTrpo();
	afx_msg void OnGeomZoom();
	afx_msg void OnCodeRLE();
	afx_msg void OnCodeIRLE();
	afx_msg void OnCodeJEPG();
	afx_msg void OnCodeIJEPG();
	afx_msg void OnCodeIlzw();
	afx_msg void OnLine();
	afx_msg void OnPoint();
	afx_msg void OnRectangle();
	afx_msg void OnElip();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnCancelMode();
	afx_msg void OnSetting();
	afx_msg void OnColor();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	BOOL m_nDraw;
	COLORREF m_clr;
	int m_nLineStyle;
	UINT m_nLineWidth;
	CPoint m_ptOrigin;
};

#ifndef _DEBUG  // debug version in ch1_1View.cpp
inline CCh1_1Doc* CCh1_1View::GetDocument()
   { return (CCh1_1Doc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CH1_1VIEW_H__60AAD957_ED0B_48FF_834E_78C547411B15__INCLUDED_)

⌨️ 快捷键说明

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