Reputation: 88217
In my other (unrelated) question, @Meleak had SnapsToDevicePixels
scattered throughout the code (in his answer), I found out it is used to make things look sharper. So the question, why is it not used everywhere since it will make things look better? OR are there downsides I need to be aware of? When should/shouldn't I use it?
Upvotes: 8
Views: 7616
Reputation: 262979
Doing that disables subpixel rendering, which improves sharpness but also defeats WPF's resolution independence. It can either be a good or a bad thing, depending on what you're doing in your app, graphics-wise.
See Pixel Snapping on MSDN for a complete explanation.
Upvotes: 2