www.pudn.com > DrawVector.rar > PlineRgn.h


// PlineRgn.h: interface for the CPlineRgn class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_PLINERGN_H__2063D516_3501_4529_AF1B_DFFE3E6E2B63__INCLUDED_) 
#define AFX_PLINERGN_H__2063D516_3501_4529_AF1B_DFFE3E6E2B63__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "Pline.h" 
#include "data.h" 
 
class CPlineRgn : public CPline   
{ 
	 
protected: 
	BOOL m_bTransparent; 
	float m_fArea; 
	BOOL m_bFill; 
	virtual void CalArea(); 
 
public: 
 
	CPlineRgn() 
	{m_Numble=0;} 
	CPlineRgn(short ColorPen,short ColorBrush,float LineWide,short LineType,short Layer,int id_only,BOOL Delete,int Numble,PointStruct* PointList,BOOL bTransparent,BOOL bFill) 
		:CPline( ColorPen, ColorBrush, LineWide, LineType, Layer, id_only, Delete, Numble,PointList) 
	{ 
		m_bTransparent=bTransparent; 
		m_bFill=bFill; 
	} 
    virtual void Draw(CDC* pDC,int m_DrawMode,int m_DrawModel,short BackColor); 
	virtual BOOL IsPoint(float x,float y,float j1,float blc); 
    virtual void Move(float x_Move,float y_Move); 
    virtual void Rotate(float baseX,float baseY,float angle); 
	virtual BOOL IsFill(); 
    BOOL IsRectCross(float minx,float miny,float maxx,float maxy); 
 
 
 
	~CPlineRgn(){} 
 
}; 
 
#endif // !defined(AFX_PLINERGN_H__2063D516_3501_4529_AF1B_DFFE3E6E2B63__INCLUDED_)