[1/3] GdipFillRegion actually belongs to Graphics

Nikolay Sivov bunglehead at gmail.com
Thu Jul 10 14:15:59 CDT 2008


Changelog:
    - GdipFillRegion belongs to Graphics methods

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

diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index 23919e2..6932404 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -2102,6 +2102,17 @@ GpStatus WINGDIPAPI GdipFillRectanglesI(GpGraphics *graphics, GpBrush *brush, GD
     return ret;
 }
 
+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 GdipFlush(GpGraphics *graphics, GpFlushIntention intention)
 {
     static int calls;
diff --git a/dlls/gdiplus/region.c b/dlls/gdiplus/region.c
index 76126ef..fc53c86 100644
--- a/dlls/gdiplus/region.c
+++ b/dlls/gdiplus/region.c
@@ -162,17 +162,6 @@ 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.4.4.4






More information about the wine-patches mailing list