Lei Zhang : gdiplus: Add a stub for GdipSetCustomLineCapWidthScale.

Alexandre Julliard julliard at winehq.org
Thu Apr 10 04:39:29 CDT 2008


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

Author: Lei Zhang <thestig at google.com>
Date:   Wed Apr  9 12:51:08 2008 -0700

gdiplus: Add a stub for GdipSetCustomLineCapWidthScale.

---

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

diff --git a/dlls/gdiplus/customlinecap.c b/dlls/gdiplus/customlinecap.c
index ce44243..54005a8 100644
--- a/dlls/gdiplus/customlinecap.c
+++ b/dlls/gdiplus/customlinecap.c
@@ -173,3 +173,14 @@ GpStatus WINGDIPAPI GdipSetCustomLineCapStrokeJoin(GpCustomLineCap* custom,
 
     return NotImplemented;
 }
+
+GpStatus WINGDIPAPI GdipSetCustomLineCapWidthScale(GpCustomLineCap* custom,
+    REAL width)
+{
+    static int calls;
+
+    if(!(calls++))
+        FIXME("not implemented\n");
+
+    return NotImplemented;
+}
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index f191aeb..bc52d6f 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -518,7 +518,7 @@
 @ stdcall GdipSetCustomLineCapBaseInset(ptr long)
 @ stdcall GdipSetCustomLineCapStrokeCaps(ptr long long)
 @ stdcall GdipSetCustomLineCapStrokeJoin(ptr long)
-@ stub GdipSetCustomLineCapWidthScale
+@ stdcall GdipSetCustomLineCapWidthScale(ptr long)
 @ stub GdipSetEffectParameters
 @ stub GdipSetEmpty
 @ stub GdipSetImageAttributesCachedBackground




More information about the wine-cvs mailing list