Draws a bezier curve through a set of points on the image.