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
Rectangle.h
Package: CAD.zip [view]
Upload User: hehe2haha
Upload Date: 2013-08-16
Package Size: 161k
Code Size: 1k
Category:
CAD
Development Platform:
Visual C++
- // Rectangle.h: interface for the CRectangle class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_RECTANGLE_H__C40C0CA6_5996_4A7A_A5A6_81717A5E2C17__INCLUDED_)
- #define AFX_RECTANGLE_H__C40C0CA6_5996_4A7A_A5A6_81717A5E2C17__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "Shape.h"
- class CRectangle : public CShape
- {
- int mPtx; //middle of x-coord
- int mPty; //middle of y-coord
- public:
- CRectangle();
- virtual ~CRectangle();
- BOOL pick(POINT);
- void DrawRect(HDC);
- void Draw(HDC);
- virtual void SaveClassName(ostream &ofstr)
- {
- ofstr<<m_className;
- }
- };
- #endif // !defined(AFX_RECTANGLE_H__C40C0CA6_5996_4A7A_A5A6_81717A5E2C17__INCLUDED_)