📄 图象处理diyview.h
字号:
// 图象处理DIYView.h : interface of the CDIYView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_DIYVIEW_H__4CEED4EF_4886_4D1D_B5E8_B1908E6D4739__INCLUDED_)
#define AFX_DIYVIEW_H__4CEED4EF_4886_4D1D_B5E8_B1908E6D4739__INCLUDED_
#include "SKC_Bmp.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CDIYView : public CView
{
protected: // create from serialization only
CDIYView();
DECLARE_DYNCREATE(CDIYView)
// Attributes
public:
CDIYDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDIYView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
CSKC_Bmp m_Bitmap;
virtual ~CDIYView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CDIYView)
afx_msg void OnFileOpen();
afx_msg void OnColor_To_Gray1();
afx_msg void OnColor_To_Gray2();
afx_msg void OnColor_To_Gray3();
afx_msg void OnRoberts();
afx_msg void Onmiddle();
afx_msg void Onsoble();
afx_msg void Onchuizhi();
afx_msg void Onshuiping();
afx_msg void OnFenGe();
afx_msg void Onzft();
afx_msg void OnPrewitt();
afx_msg void OnKirsch();
afx_msg void Onsuoxiao();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in 图象处理DIYView.cpp
inline CDIYDoc* CDIYView::GetDocument()
{ return (CDIYDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DIYVIEW_H__4CEED4EF_4886_4D1D_B5E8_B1908E6D4739__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -