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

This commit is contained in:
Vincent Povirk 2012-03-31 13:19:40 -05:00 committed by Alexandre Julliard
parent b228426d8e
commit 09b7aed7a2
1 changed files with 6 additions and 0 deletions

View File

@ -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;
}