The following WPF xaml shows artifacts (white lines) between polygons - the lines are actually background that is visible through, but becuase the polygons are define one next to another, there should be no empty space between them.The xaml is rendered correctly if ScaleX is 1 (no scale), but with any other value different white lines are shown.<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <Grid> <Canvas Width="200" Height="200" > <Canvas.RenderTransform> <ScaleTransform ScaleX="0.8"/> </Canvas.RenderTransform> <Polygon Points="106,20 106,120 109,120 109,20" Fill="#FFA603AB"/> <Polygon Points="109,20 109,120 113,120 113,20" Fill="#FFA804A9"/> <Polygon Points="113,20 113,120 116,120 116,20" Fill="#FFAA04A7"/> <Polygon Points="116,20 116,120 118,120 118,20" Fill="#FFAB05A5"/> <Polygon Points="118,20 118,120 120,120 120,20" Fill="#FFAD05A4"/> <Polygon Points="120,20 120,120 122,120 122,20" Fill="#FFAE06A2"/> </Canvas> </Grid> </Page>This works the same in .Net 3.0, 3.5 SP1 and 4.0 and in Tier 0 (Virtual PC) and Tier 2 (ATI HD 4850)Note: The upper xaml is part of the xaml that was generated from metafile with Paste2Xaml (metafiles do not support gradients but define them as set of polygons).
Product Language
Visual Studio Version
Operating System
Operating System Language
Steps to Reproduce
Actual Results
Expected Results