Vincent Povirk : gdiplus: Stub GdipTranslatePenTransform.
Alexandre Julliard
julliard at winehq.org
Mon Aug 23 10:50:16 CDT 2010
Module: wine
Branch: master
Commit: 18a4e2436894acae3722269b62272197afe65404
URL: http://source.winehq.org/git/wine.git/?a=commit;h=18a4e2436894acae3722269b62272197afe65404
Author: Vincent Povirk <madewokherd at gmail.com>
Date: Fri Jul 2 16:36:21 2010 -0400
gdiplus: Stub GdipTranslatePenTransform.
---
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 6f9cf88..2d99601 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -614,7 +614,7 @@
@ stdcall GdipTranslateLineTransform(ptr long long long)
@ stdcall GdipTranslateMatrix(ptr long long long)
@ stdcall GdipTranslatePathGradientTransform(ptr long long long)
-@ stub GdipTranslatePenTransform
+@ stdcall GdipTranslatePenTransform(ptr long long long)
@ stdcall GdipTranslateRegion(ptr long long)
@ stdcall GdipTranslateRegionI(ptr long long)
@ stdcall GdipTranslateTextureTransform(ptr long long long)
diff --git a/dlls/gdiplus/pen.c b/dlls/gdiplus/pen.c
index 4fed4d2..a022cfb 100644
--- a/dlls/gdiplus/pen.c
+++ b/dlls/gdiplus/pen.c
@@ -434,6 +434,21 @@ GpStatus WINGDIPAPI GdipGetPenTransform(GpPen *pen, GpMatrix *matrix)
return NotImplemented;
}
+GpStatus WINGDIPAPI GdipTranslatePenTransform(GpPen *pen, REAL dx, REAL dy, GpMatrixOrder order)
+{
+ static int calls;
+
+ TRACE("(%p,%0.2f,%0.2f,%u)\n", pen, dx, dy, order);
+
+ if(!pen)
+ 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