[Gdiplus 07/15] Stub GdipFillRegion

Adam Petaccia adam at tpetaccia.com
Wed Jul 9 02:33:47 CDT 2008


---
 dlls/gdiplus/gdiplus.spec |    2 +-
 dlls/gdiplus/region.c     |   11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 888fc0e..8377e3b 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -230,7 +230,7 @@
 @ stdcall GdipFillRectangleI(ptr ptr long long long long)
 @ stdcall GdipFillRectangles(ptr ptr ptr long)
 @ stdcall GdipFillRectanglesI(ptr ptr ptr long)
-@ stub GdipFillRegion
+@ stdcall GdipFillRegion(ptr ptr ptr)
 @ stdcall GdipFindFirstImageItem(ptr ptr)
 @ stub GdipFindNextImageItem
 @ stub GdipFlattenPath
diff --git a/dlls/gdiplus/region.c b/dlls/gdiplus/region.c
index 3d95723..717119f 100644
--- a/dlls/gdiplus/region.c
+++ b/dlls/gdiplus/region.c
@@ -156,6 +156,17 @@ GpStatus WINGDIPAPI GdipDeleteRegion(GpRegion *region)
     return NotImplemented;
 }
 
+GpStatus WINGDIPAPI GdipFillRegion(GpGraphics* graphics, GpBrush* brush,
+        GpRegion* region)
+{
+    if (!(graphics && brush && region))
+        return InvalidParameter;
+
+    FIXME("(%p, %p, %p): stub\n", graphics, brush, region);
+
+    return NotImplemented;
+}
+
 GpStatus WINGDIPAPI GdipGetRegionBounds(GpRegion *region, GpGraphics *graphics, GpRectF *rect)
 {
     FIXME("(%p, %p, %p): stub\n", region, graphics, rect);
-- 
1.5.4.3




More information about the wine-patches mailing list