Nikolay Sivov : gdiplus: GdipGetPathGradientWrapMode implementation.
Alexandre Julliard
julliard at winehq.org
Tue Jul 1 08:27:44 CDT 2008
Module: wine
Branch: master
Commit: 58901f10f5c66466cefd8a5044fda27531437b43
URL: http://source.winehq.org/git/wine.git/?a=commit;h=58901f10f5c66466cefd8a5044fda27531437b43
Author: Nikolay Sivov <bunglehead at gmail.com>
Date: Sun Jun 29 13:02:27 2008 +0400
gdiplus: GdipGetPathGradientWrapMode implementation.
---
dlls/gdiplus/brush.c | 11 +++++++++++
dlls/gdiplus/gdiplus.spec | 2 +-
2 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index 50ba7ca..328f02c 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -555,6 +555,17 @@ GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorsWithCount(GpPathGradient
return NotImplemented;
}
+GpStatus WINGDIPAPI GdipGetPathGradientWrapMode(GpPathGradient *brush,
+ GpWrapMode *wrapmode)
+{
+ if(!brush || !wrapmode)
+ return InvalidParameter;
+
+ *wrapmode = brush->wrap;
+
+ return Ok;
+}
+
GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill *sf, ARGB *argb)
{
if(!sf || !argb)
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 8b23d2d..61cc2de 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -341,7 +341,7 @@
@ stub GdipGetPathGradientSurroundColorCount
@ stdcall GdipGetPathGradientSurroundColorsWithCount(ptr ptr ptr)
@ stub GdipGetPathGradientTransform
-@ stub GdipGetPathGradientWrapMode
+@ stdcall GdipGetPathGradientWrapMode(ptr ptr)
@ stdcall GdipGetPathLastPoint(ptr ptr)
@ stdcall GdipGetPathPoints(ptr ptr long)
@ stdcall GdipGetPathPointsI(ptr ptr long)
More information about the wine-cvs
mailing list