public void ResetCurrentDrawings()
 {
     _poly = null;
     _rect = new Rectangle();
 }
 public Point[] GetScaledValue(Polygon poly)
 {
     return(poly.ToPoints().Select(p => new Point(GetScaledXValue(p.X), GetScaledYValue(p.Y))).ToArray());
 }