polystippleview.h
来自「C:Documents and SettingsAdministrator桌面V」· C头文件 代码 · 共 76 行
H
76 行
// PolyStippleView.h : interface of the CPolyStippleView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_POLYSTIPPLEVIEW_H__4D167A7F_6E04_11D4_87CD_000021E12E4D__INCLUDED_)
#define AFX_POLYSTIPPLEVIEW_H__4D167A7F_6E04_11D4_87CD_000021E12E4D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CPolyStippleView : public CView
{
protected: // create from serialization only
CPolyStippleView();
DECLARE_DYNCREATE(CPolyStippleView)
// Attributes
public:
CPolyStippleDoc* GetDocument();
//add down
CClientDC *m_pDC;
// Operations
public:
void Init();
BOOL bSetupPixelFormat(void);
void DrawScene(void);
//add up
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPolyStippleView)
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:
virtual ~CPolyStippleView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CPolyStippleView)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnDestroy();
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnSize(UINT nType, int cx, int cy);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in PolyStippleView.cpp
inline CPolyStippleDoc* CPolyStippleView::GetDocument()
{ return (CPolyStippleDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_POLYSTIPPLEVIEW_H__4D167A7F_6E04_11D4_87CD_000021E12E4D__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?