Lei Zhang : gdiplus: Add a stub for GdipSetLineTransform.

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


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

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

gdiplus: Add a stub for GdipSetLineTransform.

---

 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 26b5682..7f324f3 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -686,3 +686,14 @@ GpStatus WINGDIPAPI GdipSetLinePresetBlend(GpLineGradient *brush,
 
     return NotImplemented;
 }
+
+GpStatus WINGDIPAPI GdipSetLineTransform(GpLineGradient *brush,
+    GDIPCONST GpMatrix *matrix)
+{
+    static int calls;
+
+    if(!(calls++))
+        FIXME("not implemented\n");
+
+    return NotImplemented;
+}
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 6fc7f0b..c48c18c 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -541,7 +541,7 @@
 @ stdcall GdipSetLineLinearBlend(ptr long long)
 @ stdcall GdipSetLinePresetBlend(ptr ptr ptr long)
 @ stdcall GdipSetLineSigmaBlend(ptr long long)
-@ stub GdipSetLineTransform
+@ stdcall GdipSetLineTransform(ptr ptr)
 @ stdcall GdipSetLineWrapMode(ptr long)
 @ stdcall GdipSetMatrixElements(ptr long long long long long long)
 @ stub GdipSetMetafileDownLevelRasterizationLimit




More information about the wine-cvs mailing list