mirror of
https://github.com/greenshot/greenshot
synced 2025-08-22 14:24:43 -07:00
Remove Smoothing, PixelOffset and Interpolation Settings for Adorners, as they Presumably are not Needed
This commit is contained in:
parent
3d6f4c590b
commit
7c5e9a8274
2 changed files with 0 additions and 6 deletions
|
@ -145,10 +145,7 @@ namespace Greenshot.Drawing.Adorners
|
||||||
var bounds = BoundsOnSurface;
|
var bounds = BoundsOnSurface;
|
||||||
GraphicsState state = targetGraphics.Save();
|
GraphicsState state = targetGraphics.Save();
|
||||||
|
|
||||||
targetGraphics.SmoothingMode = SmoothingMode.None;
|
|
||||||
targetGraphics.CompositingMode = CompositingMode.SourceCopy;
|
targetGraphics.CompositingMode = CompositingMode.SourceCopy;
|
||||||
targetGraphics.PixelOffsetMode = PixelOffsetMode.None;
|
|
||||||
targetGraphics.InterpolationMode = InterpolationMode.NearestNeighbor;
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
|
@ -172,10 +172,7 @@ namespace Greenshot.Drawing.Adorners
|
||||||
var bounds = BoundsOnSurface;
|
var bounds = BoundsOnSurface;
|
||||||
GraphicsState state = targetGraphics.Save();
|
GraphicsState state = targetGraphics.Save();
|
||||||
|
|
||||||
targetGraphics.SmoothingMode = SmoothingMode.None;
|
|
||||||
targetGraphics.CompositingMode = CompositingMode.SourceCopy;
|
targetGraphics.CompositingMode = CompositingMode.SourceCopy;
|
||||||
targetGraphics.PixelOffsetMode = PixelOffsetMode.None;
|
|
||||||
targetGraphics.InterpolationMode = InterpolationMode.NearestNeighbor;
|
|
||||||
|
|
||||||
targetGraphics.FillRectangle(Brushes.Black, bounds);
|
targetGraphics.FillRectangle(Brushes.Black, bounds);
|
||||||
targetGraphics.DrawRectangle(new Pen(Brushes.White), bounds);
|
targetGraphics.DrawRectangle(new Pen(Brushes.White), bounds);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue