Adam Petaccia : gdiplus: Stub GdipFillRegion.

Alexandre Julliard julliard at winehq.org
Thu Jul 10 08:58:44 CDT 2008


Module: wine
Branch: master
Commit: c89bd5b87863a302c0fe35ccc8553834a18b6a84
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c89bd5b87863a302c0fe35ccc8553834a18b6a84

Author: Adam Petaccia <adam at tpetaccia.com>
Date:   Wed Jul  9 03:33:47 2008 -0400

gdiplus: Stub GdipFillRegion.

---

 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 0e397bb..df323aa 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 fc53c86..76126ef 100644
--- a/dlls/gdiplus/region.c
+++ b/dlls/gdiplus/region.c
@@ -162,6 +162,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);




More information about the wine-cvs mailing list