mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 14:03:23 -07:00
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:
parent
0b45a56b96
commit
bfb8a1a7e6
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue