Saturday, September 26, 2009

Antialiasing graphics GDI+ in .NET

Was looking for this.
All you need to do is set the smoothing mode on your graphics object :

g.SmoothingMode = SmoothingMode.AntiAlias;

Thats all folks. Enjoy!