mrDarker
2025-07-16 1dbe46cd9d0f181d08d5a69f72d8548628a13b9d
EdgeInspector_App/View/FrameImg.cpp
@@ -1,4 +1,4 @@
// FrameImg.cpp : 备泅 颇老涝聪促.
// FrameImg.cpp : 备泅 颇老涝聪促.
//
#include "stdafx.h"
@@ -415,7 +415,7 @@
   WCHAR      wStr[MAX_PATH];
   FontFamily   fontFamily(L"奔覆眉");
   FontFamily   fontFamily(L"奔覆眉");
   Font      font(&fontFamily,11, FontStyleBold );
   swprintf(wStr, L"%d[%d,%d]",m_Image.GetPixel(m_ptCur.x +  m_nScrStartX,m_ptCur.y) & 0xff,m_ptCur.x +  m_nScrStartX,m_ptCur.y);
@@ -908,8 +908,8 @@
void CFrameImg::OnPaint()
{
   CPaintDC dc(this); // device context for painting
   // TODO: 咯扁俊 皋矫瘤 贸府扁 内靛甫 眠啊钦聪促.
   // 弊府扁 皋矫瘤俊 措秦辑绰 CStatic::OnPaint()阑(甫) 龋免窍瘤 付绞矫坷.
   // TODO: 咯扁俊 皋矫瘤 贸府扁 内靛甫 眠啊钦聪促.
   // 弊府扁 皋矫瘤俊 措秦辑绰 CStatic::OnPaint()阑(甫) 龋免窍瘤 付绞矫坷.
   ViewUpdate();
}
@@ -1786,7 +1786,7 @@
   dc.SetTextColor(RGB(0,0,255));
   
   dc.TextOut(120,3,strTmp);
   // TFT CF Line阑 弊赴促.
   // TFT CF Line阑 弊赴促.
   
   szROI.cx =  CHKMIN(int(m_WndRect.Width()  / m_dZoom), m_szImg.cx);
   szROI.cy =  int(m_WndRect.Height() / m_dZoom);   
@@ -1843,13 +1843,13 @@
   dc.MoveTo(x,y-7);
   dc.LineTo(x,y+7);
   // Corner甫 弊赴促.
   // Corner甫 弊赴促.
   DrawCorner(dc,ptMark);
      
   //Defect阑 弊赴促.
   //Defect阑 弊赴促.
   DrawDefect(dc);
   // 八荤 康开阑 弊赴促
   // 八荤 康开阑 弊赴促
   //DrawInspectArea(dc);
      
   DrawMeasureLine(dc,ptMark);
@@ -1902,7 +1902,7 @@
         int nValue;
         int nTx = (int)(x * m_dZoom) - 40;
         if(m_nSide < 4) // 惑何
         if(m_nSide < 4) // 惑何
         {
            // CF LINE
            dc.MoveTo((int)((pInsResult->nGrindframe[0][nFrameIndex]- m_ptOrg.x)   *   m_dZoom) , m_ptMouseCurrent.y);
@@ -1932,7 +1932,7 @@
            //strTmp.Format("GRIND : %d um",nValue);
            dc.TextOut( nTx ,m_ptMouseCurrent.y + 30,strTmp);
         }
         else // 窍何
         else // 窍何
         {
            // TFT LINE
            dc.MoveTo((int)((pInsResult->nGrindframe[0][nFrameIndex]- m_ptOrg.x)   *   m_dZoom) , m_ptMouseCurrent.y);
@@ -2108,7 +2108,7 @@
      GetResolution(dResH,dResV);
      // 付农甫 弊赴促.
      // 付农甫 弊赴促.
      dc.SelectObject(&pen2);
      if(bMark[0])