Vincent Povirk : gdiplus: Stub GdipSetPathGradientTransform.

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


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

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

gdiplus: Stub GdipSetPathGradientTransform.

---

 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 3063a64..4b90dac 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -1601,6 +1601,19 @@ GpStatus WINGDIPAPI GdipSetPathGradientWrapMode(GpPathGradient *grad,
     return Ok;
 }
 
+GpStatus WINGDIPAPI GdipSetPathGradientTransform(GpPathGradient *grad,
+    GpMatrix *matrix)
+{
+    static int calls;
+
+    TRACE("(%p,%p)\n", grad, matrix);
+
+    if(!(calls++))
+        FIXME("not implemented\n");
+
+    return NotImplemented;
+}
+
 GpStatus WINGDIPAPI GdipMultiplyPathGradientTransform(GpPathGradient *grad,
     GDIPCONST GpMatrix *matrix, GpMatrixOrder order)
 {
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 5cb755c..91e3e59 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -559,7 +559,7 @@
 @ stdcall GdipSetPathGradientPresetBlend(ptr ptr ptr long)
 @ stdcall GdipSetPathGradientSigmaBlend(ptr long long)
 @ stdcall GdipSetPathGradientSurroundColorsWithCount(ptr ptr ptr)
-@ stub GdipSetPathGradientTransform
+@ stdcall GdipSetPathGradientTransform(ptr ptr)
 @ stdcall GdipSetPathGradientWrapMode(ptr long)
 @ stdcall GdipSetPathMarker(ptr)
 @ stdcall GdipSetPenBrushFill(ptr ptr)




More information about the wine-cvs mailing list