Point2D() public method

public Point2D ( PointF pt ) : PointF
pt PointF
return PointF
 public void AddLines(Graphics g, ChartStyle cs)
 {
     // Plot lines:
     foreach (DataSeries ds in DataSeriesList)
     {
         if (ds.LineStyle.IsVisible == true)
         {
             Pen aPen = new Pen(ds.LineStyle.LineColor, ds.LineStyle.Thickness);
             aPen.DashStyle = ds.LineStyle.Pattern;
             for (int i = 1; i < ds.PointList.Count; i++)
             {
                 g.DrawLine(aPen, cs.Point2D((PointF)ds.PointList[i - 1]),
                            cs.Point2D((PointF)ds.PointList[i]));
             }
             aPen.Dispose();
         }
     }
 }
 public void AddLines(Graphics g, ChartStyle cs)
 {
     // Plot lines:
     foreach (DataSeries ds in DataSeriesList)
     {
         if (ds.LineStyle.IsVisible == true)
         {
             Pen aPen = new Pen(ds.LineStyle.LineColor, ds.LineStyle.Thickness);
             aPen.DashStyle = ds.LineStyle.Pattern;
             for (int i = 1; i < ds.PointList.Count; i++)
             {
                 g.DrawLine(aPen, cs.Point2D((PointF)ds.PointList[i - 1]),
                                  cs.Point2D((PointF)ds.PointList[i]));
             }
             aPen.Dispose();
         }
     }
 }