Vincent Povirk : gdiplus: Stub GdipGetPenTransform.

Alexandre Julliard julliard at winehq.org
Tue Aug 3 13:10:37 CDT 2010


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

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Sat Jun 19 18:00:49 2010 -0500

gdiplus: Stub GdipGetPenTransform.

---

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

diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 4b9444e..495bc14 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -365,7 +365,7 @@
 @ stdcall GdipGetPenMiterLimit(ptr ptr)
 @ stdcall GdipGetPenMode(ptr ptr)
 @ stdcall GdipGetPenStartCap(ptr ptr)
-@ stub GdipGetPenTransform
+@ stdcall GdipGetPenTransform(ptr ptr)
 @ stdcall GdipGetPenUnit(ptr ptr)
 @ stdcall GdipGetPenWidth(ptr ptr)
 @ stdcall GdipGetPixelOffsetMode(ptr ptr)
diff --git a/dlls/gdiplus/pen.c b/dlls/gdiplus/pen.c
index c2b3399..4fed4d2 100644
--- a/dlls/gdiplus/pen.c
+++ b/dlls/gdiplus/pen.c
@@ -419,6 +419,21 @@ GpStatus WINGDIPAPI GdipSetPenTransform(GpPen *pen, GpMatrix *matrix)
     return NotImplemented;
 }
 
+GpStatus WINGDIPAPI GdipGetPenTransform(GpPen *pen, GpMatrix *matrix)
+{
+    static int calls;
+
+    TRACE("(%p,%p)\n", pen, matrix);
+
+    if(!pen || !matrix)
+        return InvalidParameter;
+
+    if(!(calls++))
+        FIXME("not implemented\n");
+
+    return NotImplemented;
+}
+
 GpStatus WINGDIPAPI GdipScalePenTransform(GpPen *pen, REAL sx, REAL sy, GpMatrixOrder order)
 {
     static int calls;




More information about the wine-cvs mailing list