[2/3] gdiplus: added GdipRotateTextureTransform
Nikolay Sivov
bunglehead at gmail.com
Tue Dec 2 15:57:05 CST 2008
Changelog:
- added GdipRotateTextureTransform
>From 6e1742bc6b96b54eabf1a157f7a2ce0c5e92dbd4 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <bunglehead at gmail.com>
Date: Wed, 3 Dec 2008 00:33:16 +0300
Subject: 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
--
1.4.4.4
More information about the wine-patches
mailing list