Vincent Povirk : gdiplus: Stub GdipGetRegionScansCount.

Alexandre Julliard julliard at winehq.org
Thu Feb 25 11:36:22 CST 2010


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

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Wed Feb 24 17:36:54 2010 -0600

gdiplus: Stub GdipGetRegionScansCount.

---

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

diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 2859f5b..e6cea5a 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -381,7 +381,7 @@
 @ stdcall GdipGetRegionDataSize(ptr ptr)
 @ stdcall GdipGetRegionHRgn(ptr ptr ptr)
 @ stub GdipGetRegionScans
-@ stub GdipGetRegionScansCount
+@ stdcall GdipGetRegionScansCount(ptr ptr ptr)
 @ stub GdipGetRegionScansI
 @ stub GdipGetRenderingOrigin
 @ stdcall GdipGetSmoothingMode(ptr ptr)
diff --git a/dlls/gdiplus/region.c b/dlls/gdiplus/region.c
index eab9b8f..decaaf9 100644
--- a/dlls/gdiplus/region.c
+++ b/dlls/gdiplus/region.c
@@ -1306,3 +1306,15 @@ GpStatus WINGDIPAPI GdipTranslateRegionI(GpRegion *region, INT dx, INT dy)
 
     return GdipTranslateRegion(region, (REAL)dx, (REAL)dy);
 }
+
+GpStatus WINGDIPAPI GdipGetRegionScansCount(GpRegion *region, UINT *count, GpMatrix *matrix)
+{
+    static int calls;
+
+    TRACE("(%p, %p, %p)\n", region, count, matrix);
+
+    if (!(calls++))
+        FIXME("not implemented\n");
+
+    return NotImplemented;
+}




More information about the wine-cvs mailing list