aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Frontend/GraphicsSubsystem
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-08-05 15:44:09 -0400
committerMichael <[email protected]>2017-08-05 15:44:09 -0400
commitec363f09caa99f8b0ffa9351950fed5629f396f7 (patch)
tree686ef8fb3d48a389613178c2b4c4f964a2839e07 /ShiftOS.Frontend/GraphicsSubsystem
parent01683f1fcb8a593af66b0a882db7b3a2beba9fa0 (diff)
downloadshiftos_thereturn-ec363f09caa99f8b0ffa9351950fed5629f396f7.tar.gz
shiftos_thereturn-ec363f09caa99f8b0ffa9351950fed5629f396f7.tar.bz2
shiftos_thereturn-ec363f09caa99f8b0ffa9351950fed5629f396f7.zip
file skimmer icons
Diffstat (limited to 'ShiftOS.Frontend/GraphicsSubsystem')
-rw-r--r--ShiftOS.Frontend/GraphicsSubsystem/GraphicsContext.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ShiftOS.Frontend/GraphicsSubsystem/GraphicsContext.cs b/ShiftOS.Frontend/GraphicsSubsystem/GraphicsContext.cs
index 8e83324..76e97c0 100644
--- a/ShiftOS.Frontend/GraphicsSubsystem/GraphicsContext.cs
+++ b/ShiftOS.Frontend/GraphicsSubsystem/GraphicsContext.cs
@@ -154,9 +154,9 @@ namespace ShiftOS.Frontend.GraphicsSubsystem
var sFormat = System.Drawing.StringFormat.GenericTypographic;
sFormat.FormatFlags |= System.Drawing.StringFormatFlags.NoClip;
- /*gfx.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
+ gfx.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
gfx.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.HighQualityBicubic;
- gfx.PixelOffsetMode = System.Drawing.Drawing2D.PixelOffsetMode.HighQuality;*/
+ gfx.PixelOffsetMode = System.Drawing.Drawing2D.PixelOffsetMode.HighQuality;
gfx.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAliasGridFit;
gfx.DrawString(text, font, System.Drawing.Brushes.Black, new System.Drawing.RectangleF(0, 0, bmp.Width, bmp.Height), sFormat);