From c89bd5b87863a302c0fe35ccc8553834a18b6a84 Mon Sep 17 00:00:00 2001 From: Adam Petaccia Date: Wed, 9 Jul 2008 03:33:47 -0400 Subject: [PATCH] gdiplus: Stub GdipFillRegion. --- dlls/gdiplus/gdiplus.spec | 2 +- dlls/gdiplus/region.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index 0e397bbba36..df323aae7f9 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 fc53c86b212..76126ef28c5 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);