📄 imagetooldoc.h
字号:
// ImageToolDoc.h : interface of the CImageToolDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_IMAGETOOLDOC_H__76F281D0_FEE0_4C28_85FA_F4B6F442580B__INCLUDED_)
#define AFX_IMAGETOOLDOC_H__76F281D0_FEE0_4C28_85FA_F4B6F442580B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CImageToolDoc : public CDocument
{
protected: // create from serialization only
CImageToolDoc();
DECLARE_DYNCREATE(CImageToolDoc)
// Attributes
public:
HBITMAP m_hBitmap;
BITMAP m_bmif;
CSize m_ViewSize;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CImageToolDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
virtual void OnCloseDocument();
//}}AFX_VIRTUAL
// Implementation
public:
void UpdateView();
CSize GetViewSize();
virtual ~CImageToolDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CImageToolDoc)
afx_msg void OnDither();
afx_msg void OnRotate90();
afx_msg void OnRotate180();
afx_msg void OnRotate270();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_IMAGETOOLDOC_H__76F281D0_FEE0_4C28_85FA_F4B6F442580B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -