Vincent Povirk : gdiplus: Set the wrap mode in the path gradient constructor.
Module: wine Branch: master Commit: 09b7aed7a23a43fc2bf3a453730181dd1a64f4ff URL: http://source.winehq.org/git/wine.git/?a=commit;h=09b7aed7a23a43fc2bf3a45373... Author: Vincent Povirk <vincent(a)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; }
participants (1)
-
Alexandre Julliard