Vincent Povirk : gdiplus: Stub GdipRotatePenTransform.
Alexandre Julliard
julliard at winehq.org
Tue Aug 3 13:10:37 CDT 2010
Module: wine
Branch: master
Commit: c1582f957ae0b358c5d9b2364883532a5f3a6000
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c1582f957ae0b358c5d9b2364883532a5f3a6000
Author: Vincent Povirk <vincent at codeweavers.com>
Date: Sat Jun 19 17:58:54 2010 -0500
gdiplus: Stub GdipRotatePenTransform.
---
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 13bcc36..4b9444e 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -488,7 +488,7 @@
@ stdcall GdipRotateLineTransform(ptr long long)
@ stdcall GdipRotateMatrix(ptr long long)
@ stub GdipRotatePathGradientTransform
-@ stub GdipRotatePenTransform
+@ stdcall GdipRotatePenTransform(ptr long long)
@ stdcall GdipRotateTextureTransform(ptr long long)
@ stdcall GdipRotateWorldTransform(ptr long long)
@ stub GdipSaveAdd
diff --git a/dlls/gdiplus/pen.c b/dlls/gdiplus/pen.c
index 238eef1..c2b3399 100644
--- a/dlls/gdiplus/pen.c
+++ b/dlls/gdiplus/pen.c
@@ -434,6 +434,21 @@ GpStatus WINGDIPAPI GdipScalePenTransform(GpPen *pen, REAL sx, REAL sy, GpMatrix
return NotImplemented;
}
+GpStatus WINGDIPAPI GdipRotatePenTransform(GpPen *pen, REAL angle, GpMatrixOrder order)
+{
+ static int calls;
+
+ TRACE("(%p,%0.2f,%u)\n", pen, angle, order);
+
+ if(!pen)
+ return InvalidParameter;
+
+ if(!(calls++))
+ FIXME("not implemented\n");
+
+ return NotImplemented;
+}
+
GpStatus WINGDIPAPI GdipMultiplyPenTransform(GpPen *pen, GDIPCONST GpMatrix *matrix,
GpMatrixOrder order)
{
More information about the wine-cvs
mailing list