gdiplus: Use brush_fill_path in GdipFillPie.

This commit is contained in:
Vincent Povirk 2009-07-11 10:32:34 -05:00 committed by Alexandre Julliard
parent e306316c7d
commit bedbd40f5e
1 changed files with 4 additions and 2 deletions

View File

@ -2586,10 +2586,12 @@ GpStatus WINGDIPAPI GdipFillPie(GpGraphics *graphics, GpBrush *brush, REAL x,
save_state = SaveDC(graphics->hdc);
EndPath(graphics->hdc);
SelectObject(graphics->hdc, brush->gdibrush);
SelectObject(graphics->hdc, GetStockObject(NULL_PEN));
BeginPath(graphics->hdc);
draw_pie(graphics, x, y, width, height, startAngle, sweepAngle);
EndPath(graphics->hdc);
brush_fill_path(graphics, brush);
RestoreDC(graphics->hdc, save_state);