📄 drawview.h
字号:
#if !defined(AFX_DRAWVIEW_H__949BE10C_F5BD_41B0_93B8_3C237D27AEA2__INCLUDED_)
#define AFX_DRAWVIEW_H__949BE10C_F5BD_41B0_93B8_3C237D27AEA2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// drawView.h : header file
//
#include "LeftPaneView.h"
#include "duoshi2Doc.h"
/////////////////////////////////////////////////////////////////////////////
// CdrawView view
class CdrawView : public CScrollView
{
protected:
CdrawView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CdrawView)
// Attributes
public:
CDuoshi2Doc* GetDocument();
// Operations
public:
int hi;
int vi;
CLeftPaneView *pview1;
void Line01(int x1,int y1,int x2,int y2);
void FANGKUANG2(int x1,int y1,int length,int width);
void textout(int x,int y,int xd,int yd,CString str); //横着输出文本
void textout2(int x,int y,int xd,int yd,CString str); //竖着输出文本
void Line0(CDC* pDC,int x1,int y1,int x2,int y2,int siwid,COLORREF sicol);
void FANGKUANG(CDC* pDC,int x1,int y1,int wid,COLORREF sicol);
void myyuan(CDC* pDC,int x0,int y0,int r,int brush);
void YUANHU(CDC* pDC,int x1,int y1,int x2,int y2);
void JIANTOU1(CDC* pDC,int x1,int y1,int wid,COLORREF sicol);
void JIANTOU2(CDC* pDC,int x1,int y1,int wid,COLORREF sicol);
void JIANTOU3(CDC* pDC,int x1,int y1,int wid,COLORREF sicol);
void JIANTOU4(CDC* pDC,int x1,int y1,int wid,COLORREF sicol);
void FillRect0(CDC* pDC,COLORREF col,CPoint point,int chd,int kd);
void HUATU(CDC* pDC);
CPoint point1[100],point2[100];
CMetaFileDC m_dcMetaFile;
CPoint point33[50];
protected:
int I,J,K,M,N,T,Q,ZHI,jj,GUANXI,BIAOZHI,BIAOZHI2,KAKA;
CString wenzhi;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CdrawView)
public:
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual void OnInitialUpdate(); // first time after construct
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CdrawView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CdrawView)
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnTest();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnButton001();
afx_msg void OnButton002();
afx_msg void OnButton003();
afx_msg void OnButton004();
afx_msg void OnButton005();
afx_msg void OnButton006();
afx_msg void OnButton007();
afx_msg void OnButton008();
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnEvolution();
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg void OnPaint();
afx_msg void OnSadfa();
afx_msg void OnAsfasf();
afx_msg void OnFileOpen();
afx_msg void OnFileSave();
afx_msg void OnBUTTONrelation();
afx_msg void OnBUTTONbegain();
afx_msg void OnBUTTONrelation2();
afx_msg void OnBUTTONrelation3();
afx_msg void OnBUTTONrelation4();
afx_msg void OnBUTTONrelation5();
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnCancelMode();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DRAWVIEW_H__949BE10C_F5BD_41B0_93B8_3C237D27AEA2__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -