From: Bartosz Kosiorek gang65@poczta.onet.pl
--- dlls/gdiplus/customlinecap.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/dlls/gdiplus/customlinecap.c b/dlls/gdiplus/customlinecap.c index c05aecae29a..347efd2e259 100644 --- a/dlls/gdiplus/customlinecap.c +++ b/dlls/gdiplus/customlinecap.c @@ -299,24 +299,24 @@ static void arrowcap_update_path(GpAdjustableArrowCap *cap) memcpy(cap->cap.pathdata.Types, types_filled, sizeof(types_filled)); cap->cap.pathdata.Count = 4; points[0].X = -cap->width / 2.0; - points[0].Y = -cap->height; + points[0].Y = -cap->height - 1.0; points[1].X = 0.0; - points[1].Y = 0.0; + points[1].Y = -1.0; points[2].X = cap->width / 2.0; - points[2].Y = -cap->height; + points[2].Y = -cap->height - 1.0; points[3].X = 0.0; - points[3].Y = -cap->height - cap->middle_inset; + points[3].Y = -cap->height + cap->middle_inset - 1.0; } else { memcpy(cap->cap.pathdata.Types, types_unfilled, sizeof(types_unfilled)); cap->cap.pathdata.Count = 3; - points[0].X = -cap->width / 4.0; - points[0].Y = -cap->height / 2.0; + points[0].X = -cap->width / 2.0; + points[0].Y = -cap->height - 1.0; points[1].X = 0.0; - points[1].Y = 0.0; - points[2].X = cap->width / 4.0; - points[2].Y = -cap->height / 2.0; + points[1].Y = -1.0; + points[2].X = cap->width / 2.0; + points[2].Y = -cap->height - 1.0; }
if (cap->width == 0.0)