[6/18] gdiplus: added GdipStartPathFigure

Evan Stade estade at gmail.com
Wed Jul 11 20:07:28 CDT 2007


Hi,

 dlls/gdiplus/gdiplus.spec   |    2 +-
 dlls/gdiplus/graphicspath.c |   10 ++++++++++
 include/gdiplusflat.h       |    1 +
 3 files changed, 12 insertions(+), 1 deletions(-)
-- 
Evan Stade
-------------- next part --------------
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(Gp
 
     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(GpPat
 GpStatus WINGDIPAPI GdipGetPathPoints(GpPath*,GpPointF*,INT);
 GpStatus WINGDIPAPI GdipGetPathTypes(GpPath*,BYTE*,INT);
 GpStatus WINGDIPAPI GdipGetPointCount(GpPath*,INT*);
+GpStatus WINGDIPAPI GdipStartPathFigure(GpPath*);
 
 #ifdef __cplusplus
 }
-- 
1.4.1


More information about the wine-patches mailing list