clear ZoomForm before painting so that areas out of screen bounds are displayed in solid black

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2291 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
JKlingen 2012-11-17 23:02:38 +00:00
commit bfb8a1a7e6

View file

@ -107,6 +107,7 @@ namespace Greenshot.Forms {
return;
}
Graphics graphics = e.Graphics;
graphics.Clear(Color.Black);
graphics.SmoothingMode = SmoothingMode.None;
graphics.InterpolationMode = InterpolationMode.NearestNeighbor;
graphics.CompositingQuality = CompositingQuality.HighSpeed;