Evan Stade : gdiplus: Added GdipSetTextureTransform stub.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Aug 10 07:31:18 CDT 2007
Module: wine
Branch: master
Commit: 96a69f0508483546f9de505d37200cf656269aa3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=96a69f0508483546f9de505d37200cf656269aa3
Author: Evan Stade <estade at gmail.com>
Date: Thu Aug 9 18:25:22 2007 -0700
gdiplus: Added GdipSetTextureTransform stub.
---
dlls/gdiplus/brush.c | 14 ++++++++++++++
dlls/gdiplus/gdiplus.spec | 2 +-
include/gdiplusflat.h | 1 +
3 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index ef60a4a..e91538e 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 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 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);
More information about the wine-cvs
mailing list