From 96a69f0508483546f9de505d37200cf656269aa3 Mon Sep 17 00:00:00 2001 From: Evan Stade Date: Thu, 9 Aug 2007 18:25:22 -0700 Subject: [PATCH] gdiplus: Added GdipSetTextureTransform stub. --- dlls/gdiplus/brush.c | 14 ++++++++++++++ dlls/gdiplus/gdiplus.spec | 2 +- include/gdiplusflat.h | 1 + 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c index ef60a4a9484..e91538e6013 100644 --- a/dlls/gdiplus/brush.c +++ b/dlls/gdiplus/brush.c @@ -625,3 +625,17 @@ GpStatus WINGDIPAPI GdipSetSolidFillColor(GpSolidFill *sf, ARGB argb) return Ok; } + +GpStatus WINGDIPAPI GdipSetTextureTransform(GpTexture *texture, + GDIPCONST GpMatrix *matrix) +{ + static int calls; + + if(!texture || !matrix) + return InvalidParameter; + + if(!(calls++)) + FIXME("not implemented\n"); + + return Ok; +} diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index c8059ca42ca..a624a9028fa 100644 --- a/dlls/gdiplus/gdiplus.spec +++ b/dlls/gdiplus/gdiplus.spec @@ -595,7 +595,7 @@ @ stub GdipSetStringFormatTrimming @ stub GdipSetTextContrast @ stub GdipSetTextRenderingHint -@ stub GdipSetTextureTransform +@ stdcall GdipSetTextureTransform(ptr ptr) @ stub GdipSetTextureWrapMode @ stdcall GdipSetWorldTransform(ptr ptr) @ stub GdipShearMatrix diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h index aa059141033..231f918037e 100644 --- a/include/gdiplusflat.h +++ b/include/gdiplusflat.h @@ -128,6 +128,7 @@ GpStatus WINGDIPAPI GdipSetPathGradientSurroundColorsWithCount(GpPathGradient*, ARGB*,INT*); GpStatus WINGDIPAPI GdipSetPathGradientWrapMode(GpPathGradient*,GpWrapMode); GpStatus WINGDIPAPI GdipSetSolidFillColor(GpSolidFill*,ARGB); +GpStatus WINGDIPAPI GdipSetTextureTransform(GpTexture *,GDIPCONST GpMatrix*); GpStatus WINGDIPAPI GdipAddPathArc(GpPath*,REAL,REAL,REAL,REAL,REAL,REAL); GpStatus WINGDIPAPI GdipAddPathBeziers(GpPath*,GDIPCONST GpPointF*,INT);