Vincent Povirk : gdiplus: Set the wrap mode in the path gradient constructor.

Alexandre Julliard julliard at winehq.org
Wed Apr 4 13:07:06 CDT 2012


Module: wine
Branch: master
Commit: 09b7aed7a23a43fc2bf3a453730181dd1a64f4ff
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=09b7aed7a23a43fc2bf3a453730181dd1a64f4ff

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Sat Mar 31 13:19:40 2012 -0500

gdiplus: Set the wrap mode in the path gradient constructor.

---

 dlls/gdiplus/brush.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index 41b38a0..359f4973 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -597,6 +597,9 @@ GpStatus WINGDIPAPI GdipCreatePathGradient(GDIPCONST GpPointF* points,
             GdipDeletePath(path);
     }
 
+    if (stat == Ok)
+        (*grad)->wrap = wrap;
+
     return stat;
 }
 
@@ -627,6 +630,9 @@ GpStatus WINGDIPAPI GdipCreatePathGradientI(GDIPCONST GpPoint* points,
             GdipDeletePath(path);
     }
 
+    if (stat == Ok)
+        (*grad)->wrap = wrap;
+
     return stat;
 }
 




More information about the wine-cvs mailing list