www.pudn.com > my2cadtest07261930.rar > Curve.h, change:2006-07-22,size:1141b


// Curve.h: interface for the CCurve class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_CURVE_H__AA7E653B_70EA_4079_AD63_BF148FDE52BC__INCLUDED_) 
#define AFX_CURVE_H__AA7E653B_70EA_4079_AD63_BF148FDE52BC__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "Shape.h" 
 
class CCurve : public CShape   
{ 
public: 
	CCurve(POINT* point, int ptcount, LOGPEN &pen, LOGBRUSH &brush); 
	void SavetoEmf(HDC &hdc); 
	CCurve(POINT *point,int ptcount); 
	void ZoomSelf(HDC &hdc, double scale); 
	void UnLock(HDC &hdc); 
	void SetMark(HDC &hdc); 
	void RotateSelf(HDC &hdc, double angle); 
	void PreDraw(HDC &hdc); 
	void MoveSelf(HDC &hdc, int dx, int dy); 
	void MirrorSelf(HDC &hdc, double angle, CSuperPoint &ptPos); 
	void Lock(HDC &hdc); 
	bool IsBound(CSuperPoint &curPt); 
	CShape* GetShapeCopy(); 
	void EnterOper(HDC &hdc); 
	void DrawSelf(HDC &hdc); 
	void ClearMark(HDC &hdc); 
	void CalcCenterRECT(); 
	void CalcCenterPoint(); 
	CCurve(); 
	virtual ~CCurve(); 
 
}; 
 
#endif // !defined(AFX_CURVE_H__AA7E653B_70EA_4079_AD63_BF148FDE52BC__INCLUDED_)