internal static System.Windows.Point[] MakePointArray(XPoint[] points)
{
if (points == null)
return null;
int count = points.Length;
System.Windows.Point[] result = new System.Windows.Point[count];
for (int idx = 0; idx < count; idx++)
{
result[idx].X = points[idx].X;
result[idx].Y = points[idx].Y;
}
return result;
}
#endif