gdiplus: Add a stub for GdipSetClipRectI.
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index 3b3ec41..e0e6336 100644 --- a/dlls/gdiplus/gdiplus.spec +++ b/dlls/gdiplus/gdiplus.spec
@@ -510,7 +510,7 @@ @ stub GdipSetClipHrgn @ stub GdipSetClipPath @ stub GdipSetClipRect -@ stub GdipSetClipRectI +@ stdcall GdipSetClipRectI(ptr long long long long long) @ stub GdipSetClipRegion @ stdcall GdipSetCompositingMode(ptr long) @ stdcall GdipSetCompositingQuality(ptr long)
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c index 74c755b..92b0f76 100644 --- a/dlls/gdiplus/graphics.c +++ b/dlls/gdiplus/graphics.c
@@ -2088,3 +2088,15 @@ return GdipTranslateMatrix(graphics->worldtrans, dx, dy, order); } + +GpStatus WINGDIPAPI GdipSetClipRectI(GpGraphics *graphics, INT x, INT y, + INT width, INT height, + CombineMode combineMode) +{ + static int calls; + + if(!(calls++)) + FIXME("not implemented\n"); + + return NotImplemented; +}
diff --git a/include/gdiplusenums.h b/include/gdiplusenums.h index c579ebe1..b0d9884 100644 --- a/include/gdiplusenums.h +++ b/include/gdiplusenums.h
@@ -270,6 +270,16 @@ ImageCodecFlagsUser = 262144 }; +enum CombineMode +{ + CombineModeReplace, + CombineModeIntersect, + CombineModeUnion, + CombineModeXor, + CombineModeExclude, + CombineModeComplement +}; + #ifndef __cplusplus typedef enum Unit Unit; @@ -299,6 +309,7 @@ typedef enum HotkeyPrefix HotkeyPrefix; typedef enum PenAlignment GpPenAlignment; typedef enum ImageCodecFlags ImageCodecFlags; +typedef enum CombineMode CombineMode; #endif /* end of c typedefs */