BUG-1735 fixed exception when scaling down screenshot with text element

This commit is contained in:
JKlingen 2015-01-25 13:22:55 +01:00
commit cc65001d34
23 changed files with 722 additions and 279 deletions

View file

@ -86,6 +86,8 @@ namespace Greenshot.Drawing {
}
using (Pen pen = new Pen(lineColor, lineThickness)) {
SetArrowHeads(heads, pen);
graphics.Flush(FlushIntention.Sync);
graphics.SmoothingMode = SmoothingMode.None;
graphics.DrawLine(pen, Left, Top, Left + Width, Top + Height);
}
}