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.
46 lines
1.1 KiB
C
46 lines
1.1 KiB
C
|
1 month ago
|
/////////////////////////////////////////////////////////////////////////
|
||
|
|
//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<CPtrArray,CFillBoundary*> 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<CCurveEx*>& CurveVec,vector<CString>& faciescode);
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif
|