Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
CADDoc.h
Package: Kavine_Studio20.rar [view]
Upload User: shangwu01
Upload Date: 2013-04-22
Package Size: 707k
Code Size: 3k
Category:
CAD
Development Platform:
Visual C++
- // CADDoc.h : interface of the CCADDoc class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_CADDOC_H__A927CAC9_F538_4764_AE44_B55CBECE548D__INCLUDED_)
- #define AFX_CADDOC_H__A927CAC9_F538_4764_AE44_B55CBECE548D__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "LINE.h"
- #include "RECTANGE.h"
- #include "CIRCLE.h"
- #include "ELLIPS.h"
- #include "MULTILINE.h"
- #include "ARC.h"
- #include "LG_wELLIPS.h"
- #include "LG_wARC.h"
- #include "LG_wCIRCLE.h"
- #include "LG_wRECTANGE.h"
- #include "LG_wLINE.h"
- class CCADDoc : public CDocument
- {
- protected: // create from serialization only
- CCADDoc();
- DECLARE_DYNCREATE(CCADDoc)
- // Attributes
- public:
- int m_line_style;
- int m_line_width;
- COLORREF m_line_color;
- // Operations
- public:
- CLINE m_line;
- CRECTANGE m_rectange;
- CCIRCLE m_circle;
- CELLIPS m_ellips;
- CMULTILINE m_multline;
- CARC m_arc;
- public:
- bool m_mode_flage;
- public:
- int m_DrawType;
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CCADDoc)
- public:
- virtual BOOL OnNewDocument();
- virtual void Serialize(CArchive& ar);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CCADDoc();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CCADDoc)
- afx_msg void OnDrawLine();
- afx_msg void OnUpdateDrawLine(CCmdUI* pCmdUI);
- afx_msg void OnDrawCircle();
- afx_msg void OnUpdateDrawCircle(CCmdUI* pCmdUI);
- afx_msg void OnDrawEllips();
- afx_msg void OnUpdateDrawEllips(CCmdUI* pCmdUI);
- afx_msg void OnDrawMultline();
- afx_msg void OnUpdateDrawMultline(CCmdUI* pCmdUI);
- afx_msg void OnDrawRectange();
- afx_msg void OnUpdateDrawRectange(CCmdUI* pCmdUI);
- afx_msg void OnDrawText();
- afx_msg void OnUpdateDrawText(CCmdUI* pCmdUI);
- afx_msg void OnUpdateModeD(CCmdUI* pCmdUI);
- afx_msg void OnUpdateModeE(CCmdUI* pCmdUI);
- afx_msg void OnModeE();
- afx_msg void OnModeD();
- afx_msg void OnDrawArc();
- afx_msg void OnUpdateDrawArc(CCmdUI* pCmdUI);
- afx_msg void OnwARC();
- afx_msg void OnwCIRCLE();
- afx_msg void OnwELLIPS();
- afx_msg void OnwLINE();
- afx_msg void OnwRECTANGE();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_CADDOC_H__A927CAC9_F538_4764_AE44_B55CBECE548D__INCLUDED_)