I want to fill region between two lines in in a c# graphics using c#.
i'm using drawlines method to draw the two curves
points.Add(new PointF(x + left, (float)y + trackHeight));
if (points.Count > 1)
using (Pen pen = HandlerGraphs.GetPen(log.LineStyle, log.Brush, 2))
for fill region, i tried
gr.FillClosedCurve(new SolidBrush(log.leftColorShading), leftPoints.ToArray(), FillMode.Alternate);
but that take more than two minuts (my curve is composed from 13255 point)