Commit d9a4299b authored by Lei Zhang's avatar Lei Zhang Committed by Alexandre Julliard

gdiplus: Add a stub for GdipSetClipRectI.

parent 05faae7b
......@@ -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)
......
......@@ -2088,3 +2088,15 @@ GpStatus WINGDIPAPI GdipTranslateWorldTransform(GpGraphics *graphics, REAL dx,
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;
}
......@@ -270,6 +270,16 @@ enum ImageCodecFlags
ImageCodecFlagsUser = 262144
};
enum CombineMode
{
CombineModeReplace,
CombineModeIntersect,
CombineModeUnion,
CombineModeXor,
CombineModeExclude,
CombineModeComplement
};
#ifndef __cplusplus
typedef enum Unit Unit;
......@@ -299,6 +309,7 @@ typedef enum StringFormatFlags StringFormatFlags;
typedef enum HotkeyPrefix HotkeyPrefix;
typedef enum PenAlignment GpPenAlignment;
typedef enum ImageCodecFlags ImageCodecFlags;
typedef enum CombineMode CombineMode;
#endif /* end of c typedefs */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment