///////////////////////////////////////////////////////////////////////// //ObjectFill.h #ifndef __YAOBJECTFILL_H__ #define __YAOBJECTFILL_H__ #include "FaciesObject.h" class CFillBoundary; class CGDFObjectLine; class CGDFObjectFill : public CGDFObject { public: DECLARE_SERIAL(CGDFObjectFill) CGDFObjectFill(CGDFLayer* pLayer=NULL); ~CGDFObjectFill(); //Attributes private: GDFLOGBRUSH m_logbrush; CTypedPtrArray m_boundaryarray; CFillBoundary* m_pSelectedBoundary; //Operations public: void SetLogBrush(GDFLOGBRUSH* pLogbrush); void GetLogBrush(GDFLOGBRUSH* pLogBrush); //Overrides public: int GetBoundaryCount(); CFillBoundary* GetBoundary(int index); void AddBoundary(CFillBoundary* pBoundary); void AddBoundary(CGDFObjectLine* pObject); void Clear(); CRect GetDrawRect(); CRect8 GetMapRect(); void SetLayer(CGDFLayer* pLayer); void SetZoomFactor(double dZoomFactor); void GetControlPointArray(IN POINT* pt,OUT POINT* pt1,int size); virtual void GetCurveEx(vector& CurveVec,vector& faciescode); }; #endif