E
Ernst Sauer
Hello,
I got the example „Flicker free drawing ...“ from
http://www.codeproject.com/KB/GDI-plus/flickerFreeDrawing.aspx
It works almost fine with my graphic,
but the font-thickness is wrong, it is about 1 pixel too big
and it looks like Bold.
string s =String.Format(Gl.culture,"{0}", i);
Font font = new Font("Arial", 8, FontStyle.Regular);
// also tested Font font = new Font("Arial", 8); from the example
SolidBrush brush = new SolidBrush(farbe);
dc.DrawString(s, font, brush, pt1);
Same problem with other fonts.
The original example works fine and uses the same font
and I can't see any difference.
Thanks
Ernst
I got the example „Flicker free drawing ...“ from
http://www.codeproject.com/KB/GDI-plus/flickerFreeDrawing.aspx
It works almost fine with my graphic,
but the font-thickness is wrong, it is about 1 pixel too big
and it looks like Bold.
string s =String.Format(Gl.culture,"{0}", i);
Font font = new Font("Arial", 8, FontStyle.Regular);
// also tested Font font = new Font("Arial", 8); from the example
SolidBrush brush = new SolidBrush(farbe);
dc.DrawString(s, font, brush, pt1);
Same problem with other fonts.
The original example works fine and uses the same font
and I can't see any difference.
Thanks
Ernst