Vincent Povirk : gdiplus: Stub GdipRotatePathGradientTransform.

Alexandre Julliard julliard at winehq.org
Tue Aug 17 11:31:12 CDT 2010


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

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Thu Jun 24 17:24:11 2010 -0500

gdiplus: Stub GdipRotatePathGradientTransform.

---

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

diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index 4b90dac..1d81f62 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -1627,6 +1627,19 @@ GpStatus WINGDIPAPI GdipMultiplyPathGradientTransform(GpPathGradient *grad,
     return NotImplemented;
 }
 
+GpStatus WINGDIPAPI GdipRotatePathGradientTransform(GpPathGradient *grad,
+    REAL angle, GpMatrixOrder order)
+{
+    static int calls;
+
+    TRACE("(%p,%0.2f,%i)\n", grad, angle, order);
+
+    if(!(calls++))
+        FIXME("not implemented\n");
+
+    return NotImplemented;
+}
+
 GpStatus WINGDIPAPI GdipSetSolidFillColor(GpSolidFill *sf, ARGB argb)
 {
     TRACE("(%p, %x)\n", sf, argb);
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 91e3e59..90ad933 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -487,7 +487,7 @@
 @ stdcall GdipReversePath(ptr)
 @ stdcall GdipRotateLineTransform(ptr long long)
 @ stdcall GdipRotateMatrix(ptr long long)
-@ stub GdipRotatePathGradientTransform
+@ stdcall GdipRotatePathGradientTransform(ptr long long)
 @ stdcall GdipRotatePenTransform(ptr long long)
 @ stdcall GdipRotateTextureTransform(ptr long long)
 @ stdcall GdipRotateWorldTransform(ptr long long)




More information about the wine-cvs mailing list