From a886b4743f7efbabe481540be9f9a93ac85eb3e0 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Wed, 3 Dec 2008 00:49:19 +0300 Subject: [PATCH] gdiplus: Added GdipMultiplyTextureTransform. --- dlls/gdiplus/brush.c | 14 ++++++++++++++ dlls/gdiplus/gdiplus.spec | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c index ffba75ad045..efcf31ddeeb 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 c8569d03159..1dce580d6da 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) -- 2.11.4.GIT