From b6a54e0979dbbf197a88376cbc94c90d99b71719 Mon Sep 17 00:00:00 2001 From: Jaex Date: Wed, 17 Aug 2016 02:47:32 +0300 Subject: [PATCH] Use LineJoin.Round in freehand pen --- ShareX.ScreenCaptureLib/Shapes/Drawing/FreehandDrawingShape.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShareX.ScreenCaptureLib/Shapes/Drawing/FreehandDrawingShape.cs b/ShareX.ScreenCaptureLib/Shapes/Drawing/FreehandDrawingShape.cs index 24a22a033..32ac8e426 100644 --- a/ShareX.ScreenCaptureLib/Shapes/Drawing/FreehandDrawingShape.cs +++ b/ShareX.ScreenCaptureLib/Shapes/Drawing/FreehandDrawingShape.cs @@ -126,7 +126,7 @@ public override void OnDraw(Graphics g) } else { - using (Pen pen = new Pen(BorderColor, BorderSize) { StartCap = LineCap.Round, EndCap = LineCap.Round }) + using (Pen pen = new Pen(BorderColor, BorderSize) { StartCap = LineCap.Round, EndCap = LineCap.Round, LineJoin = LineJoin.Round }) using (GraphicsPath gp = new GraphicsPath()) { for (int i = 0; i < points.Count - 1; i++)