Lei Zhang : gdiplus: Add a stub for GdipSetLinePresetBlend.

Alexandre Julliard julliard at winehq.org
Fri Apr 11 06:28:16 CDT 2008


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

Author: Lei Zhang <thestig at google.com>
Date:   Thu Apr 10 12:40:19 2008 -0700

gdiplus: Add a stub for GdipSetLinePresetBlend.

---

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

diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index 182af75..26b5682 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -675,3 +675,14 @@ GpStatus WINGDIPAPI GdipSetLineLinearBlend(GpLineGradient *brush, REAL focus,
 
     return NotImplemented;
 }
+
+GpStatus WINGDIPAPI GdipSetLinePresetBlend(GpLineGradient *brush,
+    GDIPCONST ARGB *blend, GDIPCONST REAL* positions, INT count)
+{
+    static int calls;
+
+    if(!(calls++))
+        FIXME("not implemented\n");
+
+    return NotImplemented;
+}
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 69f3521..6fc7f0b 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -539,7 +539,7 @@
 @ stdcall GdipSetLineColors(ptr long long)
 @ stdcall GdipSetLineGammaCorrection(ptr long)
 @ stdcall GdipSetLineLinearBlend(ptr long long)
-@ stub GdipSetLinePresetBlend
+@ stdcall GdipSetLinePresetBlend(ptr ptr ptr long)
 @ stdcall GdipSetLineSigmaBlend(ptr long long)
 @ stub GdipSetLineTransform
 @ stdcall GdipSetLineWrapMode(ptr long)




More information about the wine-cvs mailing list