/// <summary> /// Show calibration mark on screen - circle and coordinates /// </summary> /// <param name="mark">Calibration mark as CircleF</param> /// <param name="key">Calibration mark type</param> public void ShowCalibrationMark(CircleF mark, eCallibrationMark key) { switch (key) { case eCallibrationMark.BL: Marks.DrawCallibrationCircle(eCallibrationMark.BL, new Point(mark.Center.X, mark.Center.Y), Convert.ToInt32(mark.Radius)); break; case eCallibrationMark.TL: Marks.DrawCallibrationCircle(eCallibrationMark.TL, new Point(mark.Center.X, mark.Center.Y), Convert.ToInt32(mark.Radius)); break; case eCallibrationMark.TR: Marks.DrawCallibrationCircle(eCallibrationMark.TR, new Point(mark.Center.X, mark.Center.Y), Convert.ToInt32(mark.Radius)); break; case eCallibrationMark.BR: Marks.DrawCallibrationCircle(eCallibrationMark.BR, new Point(mark.Center.X, mark.Center.Y), Convert.ToInt32(mark.Radius)); break; } }