gdiplus: Add a stub for GdipSetClipRegion.
This commit is contained in:
parent
95f323ed46
commit
cec6c2eb4d
|
@ -511,7 +511,7 @@
|
||||||
@ stub GdipSetClipPath
|
@ stub GdipSetClipPath
|
||||||
@ stub GdipSetClipRect
|
@ stub GdipSetClipRect
|
||||||
@ stdcall GdipSetClipRectI(ptr long long long long long)
|
@ stdcall GdipSetClipRectI(ptr long long long long long)
|
||||||
@ stub GdipSetClipRegion
|
@ stdcall GdipSetClipRegion(ptr ptr long)
|
||||||
@ stdcall GdipSetCompositingMode(ptr long)
|
@ stdcall GdipSetCompositingMode(ptr long)
|
||||||
@ stdcall GdipSetCompositingQuality(ptr long)
|
@ stdcall GdipSetCompositingQuality(ptr long)
|
||||||
@ stub GdipSetCustomLineCapBaseCap
|
@ stub GdipSetCustomLineCapBaseCap
|
||||||
|
|
|
@ -2100,3 +2100,14 @@ GpStatus WINGDIPAPI GdipSetClipRectI(GpGraphics *graphics, INT x, INT y,
|
||||||
|
|
||||||
return NotImplemented;
|
return NotImplemented;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GpStatus WINGDIPAPI GdipSetClipRegion(GpGraphics *graphics, GpRegion *region,
|
||||||
|
CombineMode combineMode)
|
||||||
|
{
|
||||||
|
static int calls;
|
||||||
|
|
||||||
|
if(!(calls++))
|
||||||
|
FIXME("not implemented\n");
|
||||||
|
|
||||||
|
return NotImplemented;
|
||||||
|
}
|
||||||
|
|
|
@ -38,6 +38,7 @@ class GpLineGradient : public GpBrush {};
|
||||||
class GpTexture : public GpBrush {};
|
class GpTexture : public GpBrush {};
|
||||||
class GpFont {};
|
class GpFont {};
|
||||||
class GpStringFormat {};
|
class GpStringFormat {};
|
||||||
|
class GpRegion {};
|
||||||
|
|
||||||
#else /* end of c++ declarations */
|
#else /* end of c++ declarations */
|
||||||
|
|
||||||
|
@ -58,6 +59,7 @@ typedef struct GpLineGradient GpLineGradient;
|
||||||
typedef struct GpTexture GpTexture;
|
typedef struct GpTexture GpTexture;
|
||||||
typedef struct GpFont GpFont;
|
typedef struct GpFont GpFont;
|
||||||
typedef struct GpStringFormat GpStringFormat;
|
typedef struct GpStringFormat GpStringFormat;
|
||||||
|
typedef struct GpRegion GpRegion;
|
||||||
|
|
||||||
#endif /* end of c declarations */
|
#endif /* end of c declarations */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue