Vincent Povirk : gdiplus: Stub GdipWarpPath.
Alexandre Julliard
julliard at winehq.org
Thu May 14 11:07:44 CDT 2009
Module: wine
Branch: master
Commit: 0c71d5b3f70b45f60ae9b91302477170a6cd17af
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0c71d5b3f70b45f60ae9b91302477170a6cd17af
Author: Vincent Povirk <vincent at codeweavers.com>
Date: Fri May 8 11:43:45 2009 -0500
gdiplus: Stub GdipWarpPath.
---
dlls/gdiplus/gdiplus.spec | 2 +-
dlls/gdiplus/graphicspath.c | 10 ++++++++++
include/gdiplusenums.h | 6 ++++++
3 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 8968528..34c897a 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -621,7 +621,7 @@
@ stdcall GdipTranslateWorldTransform(ptr long long long)
@ stdcall GdipVectorTransformMatrixPoints(ptr ptr long)
@ stdcall GdipVectorTransformMatrixPointsI(ptr ptr long)
-@ stub GdipWarpPath
+@ stdcall GdipWarpPath(ptr ptr ptr long long long long long long long)
@ stdcall GdipWidenPath(ptr ptr ptr long)
@ stub GdipWindingModeOutline
@ stdcall GdiplusNotificationHook(ptr)
diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c
index 87b27fd..8ffe531 100644
--- a/dlls/gdiplus/graphicspath.c
+++ b/dlls/gdiplus/graphicspath.c
@@ -1465,6 +1465,16 @@ GpStatus WINGDIPAPI GdipTransformPath(GpPath *path, GpMatrix *matrix)
path->pathdata.Count);
}
+GpStatus WINGDIPAPI GdipWarpPath(GpPath *path, GpMatrix* matrix,
+ GDIPCONST GpPointF *points, INT count, REAL x, REAL y, REAL width,
+ REAL height, WarpMode warpmode, REAL flatness)
+{
+ FIXME("(%p,%p,%p,%i,%0.2f,%0.2f,%0.2f,%0.2f,%i,%0.2f)\n", path, matrix,
+ points, count, x, y, width, height, warpmode, flatness);
+
+ return NotImplemented;
+}
+
GpStatus WINGDIPAPI GdipWidenPath(GpPath *path, GpPen *pen, GpMatrix *matrix,
REAL flatness)
{
diff --git a/include/gdiplusenums.h b/include/gdiplusenums.h
index c989000..9997bf1 100644
--- a/include/gdiplusenums.h
+++ b/include/gdiplusenums.h
@@ -181,6 +181,11 @@ enum ImageType
ImageTypeMetafile
};
+enum WarpMode {
+ WarpModePerspective,
+ WarpModeBilinear
+};
+
enum WrapMode
{
WrapModeTile,
@@ -436,6 +441,7 @@ typedef enum DashStyle DashStyle;
typedef enum MatrixOrder MatrixOrder;
typedef enum ImageType ImageType;
typedef enum ImageFlags ImageFlags;
+typedef enum WarpMode WarpMode;
typedef enum WrapMode WrapMode;
typedef enum MetafileType MetafileType;
typedef enum LinearGradientMode LinearGradientMode;
More information about the wine-cvs
mailing list