📄 draw.h
字号:
#if !defined(AFX_DRAW_H__5797BEDD_CCEE_4783_9356_987934DE386E__INCLUDED_)
#define AFX_DRAW_H__5797BEDD_CCEE_4783_9356_987934DE386E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Draw.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDraw window
class CDraw : public CStatic
{
// Construction
public:
CDraw();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDraw)
//}}AFX_VIRTUAL
// Implementation
public:
void re_draw();
void draw1(CDC *pDC, CRect &rect);
CRect rect;
virtual ~CDraw();
// Generated message map functions
protected:
//{{AFX_MSG(CDraw)
afx_msg void OnPaint();
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
//}}AFX_MSG
CDC m_dcBack;
CBitmap m_bitmap ;
CBitmap *m_pBitmapOld;
COLORREF m_colorButton;
CPoint Header[2];
CPoint Cir_center1,Cir_center2,Cir_center3;
CFont m_font; // 显示文字字体
CFont *pFontOld;
DECLARE_MESSAGE_MAP()
private:
BOOL test_1;
CRect m_rect;
int temp;
BOOL can_or;
int ok_1,ok_2;
CPoint pt1[360],pt3[360],pt2[360];
CPoint pt2_1[90],pt3_1[180];
CPoint p_h[3],pWen[5];
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DRAW_H__5797BEDD_CCEE_4783_9356_987934DE386E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -