Nikolay Sivov : gdiplus: Implemented GdipDrawPieI.
Alexandre Julliard
julliard at winehq.org
Thu Apr 24 15:56:50 CDT 2008
Module: wine
Branch: master
Commit: 71931613f9b79501c48eadb21050ac18e8f8fa7a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=71931613f9b79501c48eadb21050ac18e8f8fa7a
Author: Nikolay Sivov <bunglehead at gmail.com>
Date: Thu Apr 24 20:48:00 2008 +0400
gdiplus: Implemented GdipDrawPieI.
---
dlls/gdiplus/gdiplus.spec | 2 +-
dlls/gdiplus/graphics.c | 6 ++++++
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 14f600a..0ac4314 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -191,7 +191,7 @@
@ stdcall GdipDrawLinesI(ptr ptr ptr long)
@ stdcall GdipDrawPath(ptr ptr ptr)
@ stdcall GdipDrawPie(ptr ptr long long long long long long)
-@ stub GdipDrawPieI
+@ stdcall GdipDrawPieI(ptr ptr long long long long long long)
@ stub GdipDrawPolygon
@ stub GdipDrawPolygonI
@ stdcall GdipDrawRectangle(ptr ptr long long long long)
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index 4912759..691cefc 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -1308,6 +1308,12 @@ GpStatus WINGDIPAPI GdipDrawPie(GpGraphics *graphics, GpPen *pen, REAL x,
return Ok;
}
+GpStatus WINGDIPAPI GdipDrawPieI(GpGraphics *graphics, GpPen *pen, INT x,
+ INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
+{
+ return GdipDrawPie(graphics,pen,(REAL)x,(REAL)y,(REAL)width,(REAL)height,startAngle,sweepAngle);
+}
+
GpStatus WINGDIPAPI GdipDrawRectangle(GpGraphics *graphics, GpPen *pen, REAL x,
REAL y, REAL width, REAL height)
{
More information about the wine-cvs
mailing list