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

1 month ago
#ifndef MWSECTIONLINE_H
#define MWSECTIONLINE_H
#pragma once
//////////////////////////////////////////////////////////////////////////////
//<2F>ļ<EFBFBD> Line.h
//<2F><>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD>:
// ֱ<><D6B1>
/////////////////////////////////////////////////////////////////////////////
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);
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
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