I have a Canvas
onto which I draw a Path
:
Even though the StrokeThickness
is set to 1, the vertical part of the path is drawn across 2 pixels and in a lighter color.
I know that WPF has the SnapsToDevicePixels
property that would fix it, and I read that in Silverlight there is a UseLayoutRounding
property that you can use in some cases to have the same effect, however it does not seem to apply to Path
.
Is there anything I can do to get that line drawn properly?