Vincent Povirk : gdiplus: Stub GdipGetPathGradientCenterColor.

Alexandre Julliard julliard at winehq.org
Fri Jun 25 09:40:53 CDT 2010


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

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Sat Jun 19 16:15:00 2010 -0500

gdiplus: Stub GdipGetPathGradientCenterColor.

---

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

diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index a6da058..421d053 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -1064,6 +1064,19 @@ GpStatus WINGDIPAPI GdipGetPathGradientCenterPointI(GpPathGradient *grad,
     return ret;
 }
 
+GpStatus WINGDIPAPI GdipGetPathGradientCenterColor(GpPathGradient *grad,
+    ARGB *colors)
+{
+    static int calls;
+
+    TRACE("(%p,%p)\n", grad, colors);
+
+    if(!(calls++))
+        FIXME("not implemented\n");
+
+    return NotImplemented;
+}
+
 GpStatus WINGDIPAPI GdipGetPathGradientFocusScales(GpPathGradient *grad,
     REAL *x, REAL *y)
 {
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 68b8884..e48a70a 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -327,7 +327,7 @@
 @ stdcall GdipGetPathFillMode(ptr ptr)
 @ stdcall GdipGetPathGradientBlend(ptr ptr ptr long)
 @ stdcall GdipGetPathGradientBlendCount(ptr ptr)
-@ stub GdipGetPathGradientCenterColor
+@ stdcall GdipGetPathGradientCenterColor(ptr ptr)
 @ stdcall GdipGetPathGradientCenterPoint(ptr ptr)
 @ stdcall GdipGetPathGradientCenterPointI(ptr ptr)
 @ stdcall GdipGetPathGradientFocusScales(ptr ptr ptr)




More information about the wine-cvs mailing list