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

41 lines
1.3 KiB
C++

// TLeaderAddOtherPtJig.h: interface for the CTLeaderAddOtherPtJig class.
//
//////////////////////////////////////////////////////////////////////
#include "LeaderTextDlg.h"
#if !defined(AFX_TLEADERADDOTHERPTJIG_H__BE062EF7_A4AA_4424_9E8F_669479EF3C6A__INCLUDED_)
#define AFX_TLEADERADDOTHERPTJIG_H__BE062EF7_A4AA_4424_9E8F_669479EF3C6A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "EdJigEx.h"
//引出标注,添加其他点时使用
class TLeaderAddOtherPtJig : public TSymbEdJig
{
public:
AcGePoint3d m_ptLeader;
AcGePoint3d m_ptFirstVertexes;
AcDbLine m_line;
BOOL m_bUpdateDlg; // 兼顾对象编辑和绘制对话框
CLeaderTextDlg *m_pDlg;
double m_nLayoutRotation;//引线平行
BOOL m_bLeaderParall; //对象编辑时,对象是否带有引线平行属性
public:
TLeaderAddOtherPtJig(CLeaderTextDlg *pDlg, XPoint ptStart, XPoint ptBase); // 绘制函数调用
TLeaderAddOtherPtJig(BOOL bAllPtsOnLine, XPoint ptStart, XPoint ptBase,double dLayoutRotation,BOOL b); // 对象编辑调用
int DoIt(int *pKeyIndex = NULL);
virtual DragStatus GetPoint(XPoint &pt);
virtual Adesk::Boolean update();
virtual AcDbEntity* entity() const;
};
#endif // !defined(AFX_TLEADERADDOTHERPTJIG_H__BE062EF7_A4AA_4424_9E8F_669479EF3C6A__INCLUDED_)