J
Just Me
PictureControl1 is basicly a PictureBox and g is a Graphics object for the
Picturebox.
For large fonts (33) it works OK. For smaler fonts (10) there are touches of
red around the letters.
Maybe antialiasing is doing it.
I tried Drawing.Text.TextRenderingHint.SingleBitPerPixel
Gets rid of the red.
Does that turn off antialiasing?
The text does not look good with SingleBitPerPixel
Anyway better way I can get rid if that extra color?
Thanks
g.Clear(Color.Red)
g.TranslateTransform(PictureControl1.PicWidth / 3, PictureControl1.PicHeight
/ 3)
g.RotateTransform(45)
g.DrawString("Test", New Font("Arial", 10), Brushes.Yellow, 0, 0)
PictureControl1.PicMakeTransparent(Color.Red)
Picturebox.
For large fonts (33) it works OK. For smaler fonts (10) there are touches of
red around the letters.
Maybe antialiasing is doing it.
I tried Drawing.Text.TextRenderingHint.SingleBitPerPixel
Gets rid of the red.
Does that turn off antialiasing?
The text does not look good with SingleBitPerPixel
Anyway better way I can get rid if that extra color?
Thanks
g.Clear(Color.Red)
g.TranslateTransform(PictureControl1.PicWidth / 3, PictureControl1.PicHeight
/ 3)
g.RotateTransform(45)
g.DrawString("Test", New Font("Arial", 10), Brushes.Yellow, 0, 0)
PictureControl1.PicMakeTransparent(Color.Red)