[6/9] gdiplus: added GdipSetTextureTransform stub
Evan Stade
estade at gmail.com
Thu Aug 9 20:25:22 CDT 2007
Hi,
dlls/gdiplus/brush.c | 14 ++++++++++++++
dlls/gdiplus/gdiplus.spec | 2 +-
include/gdiplusflat.h | 1 +
3 files changed, 16 insertions(+), 1 deletions(-)
--
Evan Stade
-------------- next part --------------
diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index 4084a25..a22d883 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -625,3 +625,17 @@ GpStatus WINGDIPAPI GdipSetSolidFillColo
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 c8059ca..a624a90 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 aa05914..231f918 100644
--- a/include/gdiplusflat.h
+++ b/include/gdiplusflat.h
@@ -128,6 +128,7 @@ GpStatus WINGDIPAPI GdipSetPathGradientS
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);
--
1.4.1
More information about the wine-patches
mailing list