title: Dynamically create a point array
body: <p>I would like to draw a curve using <code>graphics.DrawCurve</code> and I have x and y values in separate arrays (<code>float x[]</code> and <code>float y[]</code>). As <code>DrawCurve</code> needs point array as input, I need to convert or dynamically create the point array from the float arrays x and y. Is there any quick way for this?</p>
  
  <p>I have around 20000 points for plotting the curve, Is it good idea to use <code>graphics.DrawCurve</code> on this purpose?</p>