Make drawn text look better in GameGrid's CCorrect
This commit is contained in:
@@ -771,6 +771,8 @@ namespace ROMVault2
|
|||||||
} else if (GameGrid.Columns[e.ColumnIndex].Name == "CCorrect") {
|
} else if (GameGrid.Columns[e.ColumnIndex].Name == "CCorrect") {
|
||||||
Bitmap bmp = new Bitmap(cellBounds.Width, cellBounds.Height);
|
Bitmap bmp = new Bitmap(cellBounds.Width, cellBounds.Height);
|
||||||
Graphics g = Graphics.FromImage(bmp);
|
Graphics g = Graphics.FromImage(bmp);
|
||||||
|
g.Clear(Color.White);
|
||||||
|
g.TextRenderingHint = System.Drawing.Text.TextRenderingHint.SingleBitPerPixelGridFit;
|
||||||
Font drawFont = new Font("Arial", 9);
|
Font drawFont = new Font("Arial", 9);
|
||||||
SolidBrush drawBrushBlack = new SolidBrush(Color.Black);
|
SolidBrush drawBrushBlack = new SolidBrush(Color.Black);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user