[PATCH 6/9] gdiplus: add a stub for GdipSetLineLinearBlend.

Lei Zhang thestig at google.com
Thu Apr 10 14:40:18 CDT 2008


---
 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 68178e9..182af75 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -664,3 +664,14 @@ GpStatus WINGDIPAPI GdipSetLineColors(GpLineGradient *brush, ARGB color1,
 
     return NotImplemented;
 }
+
+GpStatus WINGDIPAPI GdipSetLineLinearBlend(GpLineGradient *brush, REAL focus,
+    REAL scale)
+{
+    static int calls;
+
+    if(!(calls++))
+        FIXME("not implemented\n");
+
+    return NotImplemented;
+}
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index c33bb42..69f3521 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -538,7 +538,7 @@
 @ stdcall GdipSetLineBlend(ptr ptr ptr long)
 @ stdcall GdipSetLineColors(ptr long long)
 @ stdcall GdipSetLineGammaCorrection(ptr long)
-@ stub GdipSetLineLinearBlend
+@ stdcall GdipSetLineLinearBlend(ptr long long)
 @ stub GdipSetLinePresetBlend
 @ stdcall GdipSetLineSigmaBlend(ptr long long)
 @ stub GdipSetLineTransform
-- 
1.5.3.6




More information about the wine-patches mailing list