Vincent Povirk : gdiplus: Stub GdipScalePathGradientTransform.

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


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

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

gdiplus: Stub GdipScalePathGradientTransform.

---

 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 1d81f62..44b0279 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -1640,6 +1640,19 @@ GpStatus WINGDIPAPI GdipRotatePathGradientTransform(GpPathGradient *grad,
     return NotImplemented;
 }
 
+GpStatus WINGDIPAPI GdipScalePathGradientTransform(GpPathGradient *grad,
+    REAL sx, REAL sy, GpMatrixOrder order)
+{
+    static int calls;
+
+    TRACE("(%p,%0.2f,%0.2f,%i)\n", grad, sx, sy, 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 90ad933..8b3257e 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -498,7 +498,7 @@
 @ stdcall GdipSaveImageToStream(ptr ptr ptr ptr)
 @ stdcall GdipScaleLineTransform(ptr long long long)
 @ stdcall GdipScaleMatrix(ptr long long long)
-@ stub GdipScalePathGradientTransform
+@ stdcall GdipScalePathGradientTransform(ptr long long long)
 @ stdcall GdipScalePenTransform(ptr long long long)
 @ stdcall GdipScaleTextureTransform(ptr long long long)
 @ stdcall GdipScaleWorldTransform(ptr long long long)




More information about the wine-cvs mailing list