Vincent Povirk : gdiplus: Stub GdipGetLineBlend.

Alexandre Julliard julliard at winehq.org
Wed Apr 29 10:20:18 CDT 2009


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

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Tue Apr 28 17:28:22 2009 -0500

gdiplus: Stub GdipGetLineBlend.

---

 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 f2054ad..e22d5aa 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -1084,6 +1084,19 @@ GpStatus WINGDIPAPI GdipSetLineBlend(GpLineGradient *brush,
     return Ok;
 }
 
+GpStatus WINGDIPAPI GdipGetLineBlend(GpLineGradient *brush, REAL *factors,
+    REAL *positions, INT count)
+{
+    static int calls;
+
+    TRACE("(%p, %p, %p, %i)\n", brush, factors, positions, count);
+
+    if(!(calls++))
+        FIXME("not implemented\n");
+
+    return NotImplemented;
+}
+
 GpStatus WINGDIPAPI GdipGetLineBlendCount(GpLineGradient *brush, INT *count)
 {
     static int calls;
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 1955f3f..a9d4c9d 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -300,7 +300,7 @@
 @ stdcall GdipGetImageVerticalResolution(ptr ptr)
 @ stdcall GdipGetImageWidth(ptr ptr)
 @ stdcall GdipGetInterpolationMode(ptr ptr)
-@ stub GdipGetLineBlend
+@ stdcall GdipGetLineBlend(ptr ptr ptr long)
 @ stdcall GdipGetLineBlendCount(ptr ptr)
 @ stdcall GdipGetLineColors(ptr ptr)
 @ stdcall GdipGetLineGammaCorrection(ptr ptr)




More information about the wine-cvs mailing list