Evan Stade : gdiplus: Added GdipStartPathFigure.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Jul 12 08:32:35 CDT 2007
Module: wine
Branch: master
Commit: 8a76d1e82c6c39ca946f42d01b6875cceb737002
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8a76d1e82c6c39ca946f42d01b6875cceb737002
Author: Evan Stade <estade at gmail.com>
Date: Wed Jul 11 18:07:28 2007 -0700
gdiplus: Added GdipStartPathFigure.
---
dlls/gdiplus/gdiplus.spec | 2 +-
dlls/gdiplus/graphicspath.c | 10 ++++++++++
include/gdiplusflat.h | 1 +
3 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 22b085e..d18af7f 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -578,7 +578,7 @@
@ stub GdipSetTextureWrapMode
@ stub GdipSetWorldTransform
@ stub GdipShearMatrix
-@ stub GdipStartPathFigure
+@ stdcall GdipStartPathFigure(ptr)
@ stub GdipStringFormatGetGenericDefault
@ stub GdipStringFormatGetGenericTypographic
@ stub GdipTestControl
diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c
index e65dabd..394b9f6 100644
--- a/dlls/gdiplus/graphicspath.c
+++ b/dlls/gdiplus/graphicspath.c
@@ -212,3 +212,13 @@ GpStatus WINGDIPAPI GdipGetPointCount(GpPath *path, INT *count)
return Ok;
}
+
+GpStatus WINGDIPAPI GdipStartPathFigure(GpPath *path)
+{
+ if(!path)
+ return InvalidParameter;
+
+ path->newfigure = TRUE;
+
+ return Ok;
+}
diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h
index e49ecc3..04d71a9 100644
--- a/include/gdiplusflat.h
+++ b/include/gdiplusflat.h
@@ -57,6 +57,7 @@ GpStatus WINGDIPAPI GdipDeletePath(GpPath*);
GpStatus WINGDIPAPI GdipGetPathPoints(GpPath*,GpPointF*,INT);
GpStatus WINGDIPAPI GdipGetPathTypes(GpPath*,BYTE*,INT);
GpStatus WINGDIPAPI GdipGetPointCount(GpPath*,INT*);
+GpStatus WINGDIPAPI GdipStartPathFigure(GpPath*);
#ifdef __cplusplus
}
More information about the wine-cvs
mailing list