[PATCH 7/9] gdiplus: add a stub for GdipSetLinePresetBlend.

Lei Zhang thestig at google.com
Thu Apr 10 14:40:19 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 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)
-- 
1.5.3.6




More information about the wine-patches mailing list