Using antialiasing


This code is a very good example of anti aliasing technique.

Simple technique to draw very clear images.


e.Graphics.SmoothingMode = SmoothingMode.AntiAlias;
e.Graphics.DrawLine(Pens.Blue, 0, 0, 50, 50);


Just set the SmoothiMode to AntiAlias and you can draw images,lines,circles,rectangles,etc which look very good.

Please Check The Image I have attached below and you can compare with and without anitaliasing .And see how easy in .net to draw images neatly and quickly.


Attachments

Comments

No responses found. Be the first to comment...


  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: