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.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# 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 ;
//保存边界点序列
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 ) ; //一般的Segment改变的消息, 如index0改变等
void SetLogPen ( GDFLOGPEN * pLogpen ) ;
void GetLogPen ( GDFLOGPEN * pLogpen ) ;
virtual void SetZoomFactor ( double dZoomFactor ) ;
} ;