Nikolay Sivov : gdiplus: Added GdipMultiplyTextureTransform.
Alexandre Julliard
julliard at winehq.org
Wed Dec 3 05:56:39 CST 2008
Module: wine
Branch: master
Commit: a886b4743f7efbabe481540be9f9a93ac85eb3e0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a886b4743f7efbabe481540be9f9a93ac85eb3e0
Author: Nikolay Sivov <bunglehead at gmail.com>
Date: Wed Dec 3 00:49:19 2008 +0300
gdiplus: Added GdipMultiplyTextureTransform.
---
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 ffba75a..efcf31d 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -929,6 +929,20 @@ GpStatus WINGDIPAPI GdipGetTextureWrapMode(GpTexture *brush, GpWrapMode *wrapmod
}
/******************************************************************************
+ * GdipMultiplyTextureTransform [GDIPLUS.@]
+ */
+GpStatus WINGDIPAPI GdipMultiplyTextureTransform(GpTexture* brush,
+ GDIPCONST GpMatrix *matrix, GpMatrixOrder order)
+{
+ TRACE("(%p, %p, %d)\n", brush, matrix, order);
+
+ if(!brush || !matrix)
+ return InvalidParameter;
+
+ return GdipMultiplyMatrix(brush->transform, matrix, order);
+}
+
+/******************************************************************************
* GdipResetTextureTransform [GDIPLUS.@]
*/
GpStatus WINGDIPAPI GdipResetTextureTransform(GpTexture* brush)
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index c8569d0..1dce580 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -446,7 +446,7 @@
@ stdcall GdipMultiplyMatrix(ptr ptr long)
@ stub GdipMultiplyPathGradientTransform
@ stub GdipMultiplyPenTransform
-@ stub GdipMultiplyTextureTransform
+@ stdcall GdipMultiplyTextureTransform(ptr ptr long)
@ stdcall GdipMultiplyWorldTransform(ptr ptr long)
@ stdcall GdipNewInstalledFontCollection(ptr)
@ stdcall GdipNewPrivateFontCollection(ptr)
More information about the wine-cvs
mailing list