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
DRAW.H
Package: GDIUSE.rar [view]
Upload User: jinlangri
Upload Date: 2022-07-17
Package Size: 10774k
Code Size: 2k
Category:
GDI-Bitmap
Development Platform:
Visual C++
- // draw.h : main header file for the DRAW application
- //
- #if !defined(AFX_DRAW_H__CA9C490C_07B2_11D4_B0C9_5254AB167DFC__INCLUDED_)
- #define AFX_DRAW_H__CA9C490C_07B2_11D4_B0C9_5254AB167DFC__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #ifndef __AFXWIN_H__
- #error include 'stdafx.h' before including this file for PCH
- #endif
- #include "resource.h" // main symbols
- /////////////////////////////////////////////////////////////////////////////
- // CDrawApp:
- // See draw.cpp for the implementation of this class
- //
- class CDrawApp : public CWinApp
- {
- public:
- COLORREF m_FillColor; //填充色
- COLORREF m_PenColor; //画笔颜色
- int m_CurrentPenThickness;//画笔宽度
- int m_CurrentLineStyle; //画笔样式
- UINT m_CurrentTool; //当前绘图方式
- // UINT m_PenThicknessCmd;
- CDrawApp();
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CDrawApp)
- public:
- virtual BOOL InitInstance();
- //}}AFX_VIRTUAL
- // Implementation
- //{{AFX_MSG(CDrawApp)
- afx_msg void OnAppAbout();
- afx_msg void OnDrawFillcolor();
- afx_msg void OnDrawSelect();
- afx_msg void OnDrawLine();
- afx_msg void OnUpdateDrawLine(CCmdUI* pCmdUI);
- afx_msg void OnDrawRect();
- afx_msg void OnUpdateDrawRect(CCmdUI* pCmdUI);
- afx_msg void OnDrawRectfill();
- afx_msg void OnUpdateDrawRectfill(CCmdUI* pCmdUI);
- afx_msg void OnDrawRectround();
- afx_msg void OnUpdateDrawRectround(CCmdUI* pCmdUI);
- afx_msg void OnDrawRectroundfill();
- afx_msg void OnUpdateDrawRectroundfill(CCmdUI* pCmdUI);
- afx_msg void OnDrawEllipse();
- afx_msg void OnUpdateDrawEllipse(CCmdUI* pCmdUI);
- afx_msg void OnDrawCircle();
- afx_msg void OnUpdateDrawCircle(CCmdUI* pCmdUI);
- afx_msg void OnDrawCirclefill();
- afx_msg void OnUpdateDrawCirclefill(CCmdUI* pCmdUI);
- afx_msg void OnDrawEllipsefill();
- afx_msg void OnUpdateDrawEllipsefill(CCmdUI* pCmdUI);
- afx_msg void OnDrawWord();
- afx_msg void OnUpdateDrawWord(CCmdUI* pCmdUI);
- afx_msg void OnDrawPencolor();
- afx_msg void OnDrawPenWidth();
- afx_msg void OnUpdateDrawSelect(CCmdUI* pCmdUI);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_DRAW_H__CA9C490C_07B2_11D4_B0C9_5254AB167DFC__INCLUDED_)