Evan Stade : gdiplus: GdipDrawCurve2 now uses SaveDC()/RestoreDC() and end caps.