?? 2dgraphdoc.h
字號:
// 2DGRAPHDoc.h : interface of the CMy2DGRAPHDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_2DGRAPHDOC_H__C475F77F_FDE1_420A_AAE2_08C3CA59D68E__INCLUDED_)
#define AFX_2DGRAPHDOC_H__C475F77F_FDE1_420A_AAE2_08C3CA59D68E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMy2DGRAPHDoc : public CDocument
{
protected: // create from serialization only
CMy2DGRAPHDoc();
DECLARE_DYNCREATE(CMy2DGRAPHDoc)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMy2DGRAPHDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
virtual void DeleteContents();
//}}AFX_VIRTUAL
// Implementation
public:
COLORREF m_BackColor;
LOGPEN m_PLogPen[100];
LOGBRUSH m_PLogBrush[100];
int m_Point[100][2];
int m_nPolygonNum;
int m_Line[5000][7];
int m_nLineNum;
LOGBRUSH m_TLogBrush[100];
LOGPEN m_TLogPen[100];
int m_Trigon[100][6];
int m_nTrigonNum;
LOGBRUSH m_CLogBrush[100];
LOGPEN m_CLogPen[100];
int m_Circle[100][4];
int m_nCircleNum;
LOGBRUSH m_RLogBrush[100];
LOGPEN m_RLogPen[100];
int m_Rect[1000][4];
int m_nRectNum;
LOGBRUSH m_ELogBrush[100];
int m_Ellipse[100][7];
int m_nEllipseNum;
int m_nPointNum;
int m_nSideNum[100];
POINT m_Polygon[100][100];
int m_nEraserNum;
int m_Eraser[100000][4];
int m_nFillNum;
int m_Fill[1000][3];
virtual ~CMy2DGRAPHDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CMy2DGRAPHDoc)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_2DGRAPHDOC_H__C475F77F_FDE1_420A_AAE2_08C3CA59D68E__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -