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