Nikolay Sivov : gdiplus: Stub for GdipRotateLineTransform.

Alexandre Julliard julliard at winehq.org
Sat Dec 27 13:45:33 CST 2008


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

Author: Nikolay Sivov <bunglehead at gmail.com>
Date:   Sat Dec 27 21:39:57 2008 +0300

gdiplus: Stub for GdipRotateLineTransform.

---

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

diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index a24f54e..9a513e1 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -1331,3 +1331,17 @@ GpStatus WINGDIPAPI GdipGetLineRectI(GpLineGradient *brush, GpRect *rect)
 
     return ret;
 }
+
+GpStatus WINGDIPAPI GdipRotateLineTransform(GpLineGradient* brush,
+    REAL angle, GpMatrixOrder order)
+{
+    static int calls;
+
+    if(!brush)
+        return InvalidParameter;
+
+    if(!(calls++))
+        FIXME("(%p, %.2f, %d) stub\n", brush, angle, order);
+
+    return NotImplemented;
+}
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index c995144..12a2316 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -485,7 +485,7 @@
 @ stdcall GdipResetWorldTransform(ptr)
 @ stdcall GdipRestoreGraphics(ptr long)
 @ stdcall GdipReversePath(ptr)
-@ stub GdipRotateLineTransform
+@ stdcall GdipRotateLineTransform(ptr long long)
 @ stdcall GdipRotateMatrix(ptr long long)
 @ stub GdipRotatePathGradientTransform
 @ stub GdipRotatePenTransform




More information about the wine-cvs mailing list