Make drawn text look better in GameGrid's CCorrect

This commit is contained in:
Jim Westfall
2014-10-26 20:27:10 -07:00
parent bb4b77a6d7
commit 16ae35a8a1

View File

@@ -771,6 +771,8 @@ namespace ROMVault2
} else if (GameGrid.Columns[e.ColumnIndex].Name == "CCorrect") {
Bitmap bmp = new Bitmap(cellBounds.Width, cellBounds.Height);
Graphics g = Graphics.FromImage(bmp);
g.Clear(Color.White);
g.TextRenderingHint = System.Drawing.Text.TextRenderingHint.SingleBitPerPixelGridFit;
Font drawFont = new Font("Arial", 9);
SolidBrush drawBrushBlack = new SolidBrush(Color.Black);