?? 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 + -