把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
This commit is contained in:
gjm committed 2026-10-04 00:04:20 +08:00
1 parent 2b0c2055ff
commit 164968b62e
6171 files changed
+191244 -191243

No files matched your search

@@ -1,4 +1,4 @@
#include "stdafx.h"
#include "stdafx.h"
#include "AecDbPathSectionSymbDim.h"
#include "dbgrip.h"
#include "CoreTools.h"
@@ -273,7 +273,7 @@ Acad::ErrorStatus AecDbPathSectionSymbDim::copyFrom(const AcRxObject* pSrc)
void AecDbPathSectionSymbDim::subList() const
{
assertReadEnabled();
acutPrintf(_T("\n折线剖切标注:"));
acutPrintf(_T("\n折线剖切标注:"));
AecDbCurveBase::subList();
}
@@ -345,7 +345,7 @@ namespace
pWd->geometry().polygon(4, ptBox);
pWd->subEntityTraits().setFillType(eOldFill);
// 保护一下
// 保护一下
if (pGrip->m_idx > 2 || pGrip->m_datas.size() > 2) return true;
AcGePoint3d pt0, pt1, pt2, pt3;
@@ -383,7 +383,7 @@ Acad::ErrorStatus AecDbPathSectionSymbDim::subGetGripPoints( AcDbGripDataPtrArra
subGetGripPoints(gripPoints, osnapModes, geomIds);
m_GripDatas.clear();
// 先把 grippoints 里的点都绘制出来
// 先把 grippoints 里的点都绘制出来
for (int i(0); i < gripPoints.length(); ++i)
{
GripData gpd;
@@ -449,7 +449,7 @@ Acad::ErrorStatus AecDbPathSectionSymbDim::subGetGripPoints (AcGePoint3dArray&
{
assertReadEnabled();
//暂时增加文字位置夹点
//暂时增加文字位置夹点
if ( m_arSecPath.length() > 2)
{
AcGePoint3d ptT = m_arSecPath.first().ptGe[0];
@@ -590,7 +590,7 @@ Acad::ErrorStatus AecDbPathSectionSymbDim::Draw2d(AcGiDraw &dc) const
{
assertReadEnabled();
//管线系统屏蔽掉
//管线系统屏蔽掉
if ( dc.IsDragging() )
{
//return Acad::eOk;