Thursday, August 27, 2009

Why images on canvas appear blurry in Silverlight/WPF?

This will happen if their left or top is not a rounded number.
All the pixels of the image will be divided between more than one pixel and that makes the images appear blurry.
The solution is to use Math.Round when setting their positions.

No comments:

Post a Comment