Vincent Povirk : gdiplus: Stub GdipGetLineBlendCount.

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


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

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

gdiplus: Stub GdipGetLineBlendCount.

---

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

diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index f0c9b20..f2054ad 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -1084,6 +1084,18 @@ GpStatus WINGDIPAPI GdipSetLineBlend(GpLineGradient *brush,
     return Ok;
 }
 
+GpStatus WINGDIPAPI GdipGetLineBlendCount(GpLineGradient *brush, INT *count)
+{
+    static int calls;
+
+    TRACE("(%p, %p)\n", brush, count);
+
+    if(!(calls++))
+        FIXME("not implemented\n");
+
+    return NotImplemented;
+}
+
 GpStatus WINGDIPAPI GdipSetLineGammaCorrection(GpLineGradient *line,
     BOOL usegamma)
 {
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 2d5bc78..1955f3f 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -301,7 +301,7 @@
 @ stdcall GdipGetImageWidth(ptr ptr)
 @ stdcall GdipGetInterpolationMode(ptr ptr)
 @ stub GdipGetLineBlend
-@ stub GdipGetLineBlendCount
+@ stdcall GdipGetLineBlendCount(ptr ptr)
 @ stdcall GdipGetLineColors(ptr ptr)
 @ stdcall GdipGetLineGammaCorrection(ptr ptr)
 @ stub GdipGetLinePresetBlend




More information about the wine-cvs mailing list