From 998ad559883116280541553b761221bd8d486b9e Mon Sep 17 00:00:00 2001
From: xcd <834800634@qq.com>
Date: 星期六, 27 六月 2020 15:02:47 +0800
Subject: [PATCH] M071主要流程配置

---
 src/Bro.UI.Model.Winform/Element/ROI_Circle.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/Bro.UI.Model.Winform/Element/ROI_Circle.cs b/src/Bro.UI.Model.Winform/Element/ROI_Circle.cs
index 488958b..bfe99c0 100644
--- a/src/Bro.UI.Model.Winform/Element/ROI_Circle.cs
+++ b/src/Bro.UI.Model.Winform/Element/ROI_Circle.cs
@@ -45,7 +45,7 @@
 
         public override void Draw(Graphics g)
         {
-            g.FillEllipse(new SolidBrush(Color.Red), new RectangleF(Center.X, Center.Y, 1.0f, 1.0f));
+            g.FillEllipse(new SolidBrush(Color.Red), new RectangleF((float)Center.X, (float)Center.Y, 1.0f, 1.0f));
 
             Pen pen = null;
             if (ROI_Index == "1")
@@ -56,7 +56,7 @@
                     "P1",
                     new Font(new FontFamily("瀹嬩綋"), 40.0f),
                     new SolidBrush(Color.Red),
-                    new PointF(Center.X - Radius - 80, Center.Y - Radius - 40)
+                    new PointF((float)Center.X - Radius - 80, (float)Center.Y - Radius - 40)
                     );
             }
             else
@@ -65,11 +65,11 @@
             }
 
             pen.DashStyle = System.Drawing.Drawing2D.DashStyle.DashDot;
-            g.DrawEllipse(pen, Center.X - Radius, Center.Y - Radius, Radius * 2, Radius * 2);
+            g.DrawEllipse(pen, (float)Center.X - Radius, (float)Center.Y - Radius, Radius * 2, Radius * 2);
 
             if (ROI_Index == "1")
             {
-                g.DrawEllipse(pen, Center.X - Radius - 15, Center.Y - Radius - 15, Radius * 2 + 30, Radius * 2 + 30);
+                g.DrawEllipse(pen, (float)Center.X - Radius - 15, (float)Center.Y - Radius - 15, Radius * 2 + 30, Radius * 2 + 30);
             }
         }
 

--
Gitblit v1.8.0