public static PointF ToPointF(this EPoint point) { return(new PointF((float)DPExtensions.ConvertToScaledDP(point.X), (float)DPExtensions.ConvertToScaledDP(point.Y))); }
public static Point ToPoint(this EPoint point) { return(new Point(DPExtensions.ConvertToScaledDP(point.X), DPExtensions.ConvertToScaledDP(point.Y))); }