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.

34 lines
1.1 KiB
C

1 month ago
#pragma once
#include "FaciesObject.h"
class CGDFObjectLine : public CGDFObject
{
public:
DECLARE_SERIAL(CGDFObjectLine)
CGDFObjectLine(CGDFLayer* pLayer=NULL);
virtual ~CGDFObjectLine();
//Attributes
GDFLOGPEN m_logpen;
double m_dHitTestResult;
//<2F><><EFBFBD><EFBFBD><EFBFBD>߽<EFBFBD><DFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
CArray<POINT,POINT> m_borderdrawpointarray;
CArray<CPoint2D,CPoint2D> m_bordermappointarray;
//Operations
virtual void BuildBorderPointArray();
virtual BOOL GetClose();
virtual void Clear();
virtual void DuplicateAttribute(CGDFObject* pObject);
void GetBorderCutPoint(double dIndex,CPoint2D& point);
void GetBorderCutPoint(double index,CPoint2D* point);
void GetBorderCutPoint(double dHeadIndex,CPoint2D* headcutpoint,double dEndIndex,CPoint2D* endcutpoint);
virtual int GetBorderDrawPointCount();
virtual POINT* GetBorderDrawPointArray();
virtual int GetBorderMapPointCount();
virtual CPoint2D* GetBorderMapPointArray();
virtual BOOL OnChanged(CGDFSegment* pSegment=NULL);//һ<><D2BB><EFBFBD><EFBFBD>Segment<6E>ı<EFBFBD><C4B1><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD>index0<78>ı<EFBFBD><C4B1><EFBFBD>
void SetLogPen(GDFLOGPEN* pLogpen);
void GetLogPen(GDFLOGPEN* pLogpen);
virtual void SetZoomFactor(double dZoomFactor);
};