Nikolay Sivov : gdiplus: Added GdipRotateTextureTransform.

Alexandre Julliard julliard at winehq.org
Wed Dec 3 05:56:39 CST 2008


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

Author: Nikolay Sivov <bunglehead at gmail.com>
Date:   Wed Dec  3 00:33:16 2008 +0300

gdiplus: Added GdipRotateTextureTransform.

---

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

diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index f23eba7..ffba75a 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -1198,6 +1198,20 @@ GpStatus WINGDIPAPI GdipGetLineColors(GpLineGradient *brush, ARGB *colors)
     return Ok;
 }
 
+/******************************************************************************
+ * GdipRotateTextureTransform [GDIPLUS.@]
+ */
+GpStatus WINGDIPAPI GdipRotateTextureTransform(GpTexture* brush, REAL angle,
+    GpMatrixOrder order)
+{
+    TRACE("(%p, %.2f, %d)\n", brush, angle, order);
+
+    if(!brush)
+        return InvalidParameter;
+
+    return GdipRotateMatrix(brush->transform, angle, order);
+}
+
 GpStatus WINGDIPAPI GdipSetLineLinearBlend(GpLineGradient *brush, REAL focus,
     REAL scale)
 {
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index f86e20b..c8569d0 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -489,7 +489,7 @@
 @ stdcall GdipRotateMatrix(ptr long long)
 @ stub GdipRotatePathGradientTransform
 @ stub GdipRotatePenTransform
-@ stub GdipRotateTextureTransform
+@ stdcall GdipRotateTextureTransform(ptr long long)
 @ stdcall GdipRotateWorldTransform(ptr long long)
 @ stub GdipSaveAdd
 @ stub GdipSaveAddImage




More information about the wine-cvs mailing list