gdiplus: Set the wrap mode in the path gradient constructor.
This commit is contained in:
parent
b228426d8e
commit
09b7aed7a2
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue