Files
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

65 lines
1.9 KiB
C++

#ifndef _TDRAWINGIDXEDJIG_H__
#define _TDRAWINGIDXEDJIG_H__
#include "dbSymbolAnnotate.h"
#include "DimPipeSerialDlg.h"
#include "DimSanitaryDlg.h"
#include "TDbPipeMultDim.h"
#include "EdJigEx.h"
class TDrawingIdxEdJig : public TSymbEdJig
{
protected:
TDbSymbDrawingIndex *m_pDrawEnt;
public:
TDrawingIdxEdJig(TDbSymbDrawingIndex *pIdx, CDimPipeSerialDlg *pDlg);
TDrawingIdxEdJig(TDbSymbDrawingIndex *pIdx, CDimSanitaryDlg *pDlg);
TDrawingIdxEdJig(TDbSymbDrawingIndex *pIdx);
virtual int DoIt(int *pKeyIndex=NULL);
DragStatus GetPoint(XPoint &pt);
CDimPipeSerialDlg* m_pDlg;
CDimSanitaryDlg* m_pDlg2;
XPoint m_ptRef;
protected:
virtual Adesk::Boolean update();
virtual AcDbEntity* entity() const;
};
//***************************************************************************************************
// 管道坡度箭头
//***************************************************************************************************
class TArrowEdJig : public TSymbEdJig {
protected:
TDbSymbArrow *m_pDrawEnt;
public:
TArrowEdJig(TDbSymbArrow *pIdx, XPoint ptRef, XPoint ptStart, XPoint ptEnd, double dDimDist2Pipe);
virtual int DoIt(int *pKeyIndex=NULL);
DragStatus GetPoint(XPoint &pt);
XPoint m_ptRef, m_ptStart, m_ptEnd;
BOOL m_bFromStart;
double m_dDimDist2Pipe;
double m_dDist;
protected:
virtual Adesk::Boolean update();
virtual AcDbEntity* entity() const;
void SetArrow2TextDist();
};
class TMultPipeDimEdJig : public TSymbEdJig {
public:
XPoint m_ptLeftUp, m_ptRightUp, m_ptLeftDown, m_ptRightDown;
protected:
TDbPipeMultDim *m_pDrawEnt;
public:
TMultPipeDimEdJig(TDbPipeMultDim *);
virtual int DoIt(int *pKeyIndex=NULL);
DragStatus GetPoint(XPoint &pt);
protected:
virtual Adesk::Boolean update();
virtual AcDbEntity* entity() const;
};
#endif