public static System.Drawing.Point[] ToPoints(this PointF[] p) { return p.Select(x => x.ToPoint()).ToArray(); }