[1/3] gdiplus: GdipAddPathEllipseI

Nikolay Sivov bunglehead at gmail.com
Tue Apr 15 16:43:32 CDT 2008


Changelog:
   - implemented using float args version
---
dlls/gdiplus/gdiplus.spec   |    2 +-
dlls/gdiplus/graphicspath.c |    5 +++++
2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 337ffb2..d35536c 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -15,7 +15,7 @@
@ stub GdipAddPathCurve
@ stub GdipAddPathCurveI
@ stdcall GdipAddPathEllipse(ptr long long long long)
-@ stub GdipAddPathEllipseI
+@ stdcall GdipAddPathEllipseI(ptr long long long long)
@ stdcall GdipAddPathLine2(ptr ptr long)
@ stub GdipAddPathLine2I
@ stub GdipAddPathLine
diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c
index adeaa89..c3b0518 100644
--- a/dlls/gdiplus/graphicspath.c
+++ b/dlls/gdiplus/graphicspath.c
@@ -188,6 +188,11 @@ GpStatus WINGDIPAPI GdipAddPathEllipse(GpPath
*path, REAL x, REAL y, REAL width,
     return Ok;
}

+GpStatus WINGDIPAPI GdipAddPathEllipseI(GpPath *path, INT x, INT y, INT
width, INT height)
+{
+    return GdipAddPathEllipse(path, (REAL)x, (REAL)y, (REAL)width,
(REAL)height);
+}
+
GpStatus WINGDIPAPI GdipAddPathLine2(GpPath *path, GDIPCONST GpPointF
*points,
     INT count)
{
-- 
1.4.4.4






More information about the wine-patches mailing list