gdiplus: Implemented GdipSetClipPath.
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c index b36e31c..3b5d8f0 100644 --- a/dlls/gdiplus/graphics.c +++ b/dlls/gdiplus/graphics.c
@@ -2948,6 +2948,19 @@ return GdipTranslateMatrix(graphics->worldtrans, dx, dy, order); } +GpStatus WINGDIPAPI GdipSetClipPath(GpGraphics *graphics, GpPath *path, CombineMode mode) +{ + TRACE("(%p, %p, %d)\n", graphics, path, mode); + + if(!graphics) + return InvalidParameter; + + if(graphics->busy) + return ObjectBusy; + + return GdipCombineRegionPath(graphics->clip, path, mode); +} + GpStatus WINGDIPAPI GdipSetClipRect(GpGraphics *graphics, REAL x, REAL y, REAL width, REAL height, CombineMode mode)