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
csimutil.hxx
Package: win2ksrc.rar [view]
Upload User: caisha3
Upload Date: 2013-09-21
Package Size: 208739k
Code Size: 1k
Category:
Windows Develop
Development Platform:
Visual C++
- #ifndef I_CSIMUTIL_HXX_
- #define I_CSIMUTIL_HXX_
- #pragma INCMSG("--- Beg 'csimutil.hxx'")
- #define LINE_SIZE_WIDTH 3
- #define CORNER_SIZE 3
- #define SHAPE_TYPE_RECT 0
- #define SHAPE_TYPE_CIRCLE 1
- #define SHAPE_TYPE_POLY 2
- #define SELECT_MODE 3
- #define DELIMS _T(", ;")
- MtExtern(CPointAry)
- MtExtern(CPointAry_pv)
- DECLARE_CDataAry(CPointAry, POINT, Mt(CPointAry), Mt(CPointAry_pv))
- typedef struct
- {
- LONG lx, ly, lradius;
- } SCircleCoords;
- typedef struct
- {
- HRGN hPoly;
- } SPolyCoords;
- union CoordinateUnion
- {
- RECT Rect;
- SCircleCoords Circle;
- SPolyCoords Polygon;
- };
- HRESULT NextNum(LONG *plNum, TCHAR **ppch);
- BOOL PointInCircle(POINT pt, LONG lx, LONG ly, LONG lradius);
- BOOL Contains(POINT pt, union CoordinateUnion coords, UINT nShapeType);
- #pragma INCMSG("--- End 'csimutil.hxx'")
- #else
- #pragma INCMSG("*** Dup 'csimutil.hxx'")
- #endif