[2/3] gdiplus: properly draw points outside of line gradients

Vincent Povirk vincent at codeweavers.com
Fri May 1 16:22:15 CDT 2009


Theoretically, a line gradient covers the area enclosed by the starting and ending gradient lines, which intersect the start and end points respectively and are perpendicular to a line joining the start and end points.

Points outside that area are not filled with the starting and ending colors as I initially assumed. Native gdiplus "tiles" the gradient to cover these areas.

This patch implements that behavior.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-gdiplus-properly-draw-points-outside-of-line-gradie.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090501/79e29e37/attachment.txt>


More information about the wine-patches mailing list