You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
785 B
C++
29 lines
785 B
C++
#ifndef MWSECTIONLINE_H
|
|
#define MWSECTIONLINE_H
|
|
#pragma once
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//文件 Line.h
|
|
//主要功能:
|
|
// 直线
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
class AFX_EXT_CLASS CMWSectionLine : public CWellBaseObj
|
|
{
|
|
public:
|
|
CMWSectionLine(void);
|
|
~CMWSectionLine(void);
|
|
public:
|
|
CCurveEx *m_pCurve;
|
|
public:
|
|
virtual void Serialize(CArchive& ar, const short &ver);
|
|
virtual void Draw(CXyDC* pDC);
|
|
//交互操作函数
|
|
virtual void MoveTo(CRect8& position);
|
|
virtual void MoveHandleTo(int nHandle, CPoint2D point);
|
|
virtual BOOL TransformCurve(CXyDC* pDC, float* matrix, BOOL bUndo=FALSE);//matrix length is 6
|
|
virtual CCurveEx* GetCurve() { return m_pCurve; }
|
|
|
|
COLORREF m_color;
|
|
};
|
|
|
|
#endif |