📄 lcyimageprocessview.h
字号:
// LCYImageProcessView.h : interface of the CLCYImageProcessView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_LCYIMAGEPROCESSVIEW_H__B66F4672_0617_4372_86BD_C8548123E3F4__INCLUDED_)
#define AFX_LCYIMAGEPROCESSVIEW_H__B66F4672_0617_4372_86BD_C8548123E3F4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "WinPic.h"
class CLCYImageProcessView : public CScrollView
{
protected: // create from serialization only
CLCYImageProcessView();
DECLARE_DYNCREATE(CLCYImageProcessView)
// Attributes
public:
CDC* m_MemDC;
CBitmap* m_Bitmap;
CWinPic* m_BmpImage;
int m_Current;
CLCYImageProcessDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLCYImageProcessView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
void DrawPicture_shuipingwin(); //图象水平百叶窗显示
void DrawPicture_cuizhishantiao(); //图象垂直栅条显示
void DrawPicture_shuipingshantiao(); //图象水平栅条显示
void DrawPicture_shousuo(); //图象收缩显示
void DrawPicture_fly(); //图象交叉飞入显示
void DrawPicture_kuozhang(); //图象扩张显示
void DrawPicture_toup(); //向上移动显示
void DrawPicture_toleft(); //向左移动显示
void DrawPicture_left(); //向左扫描
void DrawPicture_right(); //向右扫描
void DrawPicture_up(); //向上扫描
void DrawPicture_bottom(); //向下扫描
void DrawPicture();
virtual ~CLCYImageProcessView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CLCYImageProcessView)
afx_msg void OnFileOpen();
afx_msg void OnViewSrc(); //显示原图
afx_msg void OnT0Bottom();
afx_msg void OnToUp();
afx_msg void OnToRight();
afx_msg void OnToLeft();
afx_msg void OnViewMoveToleft();
afx_msg void OnViewMoveToup();
afx_msg void OnKuozhang();
afx_msg void OnBothFly();
afx_msg void OnShousuo();
afx_msg void OnShuipingshantiao();
afx_msg void OnCuizhishantiao();
afx_msg void OnJianxian();
afx_msg void OnShuipingwin();
afx_msg void OnZoom();
afx_msg void OnZoom1();
afx_msg void OnMove();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in LCYImageProcessView.cpp
inline CLCYImageProcessDoc* CLCYImageProcessView::GetDocument()
{ return (CLCYImageProcessDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LCYIMAGEPROCESSVIEW_H__B66F4672_0617_4372_86BD_C8548123E3F4__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -