[v2 1/5] gdiplus: Allow widening a "closed" line segment.
madewokherd at gmail.com
Thu Oct 13 16:23:13 CDT 2016
From: Vincent Povirk <vincent at codeweavers.com>
Turns out native allows this. I did this in my updated test
case in patch 3, to draw two disconnected lines in one path.
Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
dlls/gdiplus/graphicspath.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c
index 963ee1c..8ba0016 100644
@@ -1888,7 +1888,7 @@ static void widen_closed_figure(GpPath *path, GpPen *pen, int start, int end,
- if (end <= start+1)
+ if (end <= start)
/* left outline */
More information about the wine-patches