Comment 3 for bug 1350817

Revision history for this message
jazzynico (jazzynico) wrote :

Patch tested successfully with revision 13505.

I still have a doubt because of the following article (which was the reason why I used rounded values 4 years ago): http://msdn.microsoft.com/en-us/library/system.windows.shapes.shape.strokethickness%28v=vs.95%29.aspx
In the remarks section: "Generally you should use integral numeric values for this property. Nonintegral values can cause subpixel rendering, and may alter the apparent color of the stroke."

Note that it's just a suggestion and that it only applies to Silverlight (not the .NET). Now (r13505) that I have activated a new Silverlight compatible mode we could use rounded values for Silverlight only and keep the fractional component for .NET. Or use your patch and ignore Microsoft's suggestion...

Johannes, any comment or preference?