Bugzilla – Bug 345894
[cairo] No support for Dash LineCaps
Last modified: 2008-04-01 13:08:05 UTC
Silverlight support line caps on dashes. This feature isn't part of SVG and is not supported by Cairo. Right now Moonlight doesn't render the line caps for dashes.
<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> <Line Stroke="Black" StrokeThickness="5" StrokeDashArray="5" X1="10" Y1="10" X2="10" Y2="200" /> <Line Stroke="Black" StrokeThickness="5" StrokeDashArray="5" StrokeDashCap="Flat" X1="20" Y1="10" X2="20" Y2="200" /> <Line Stroke="Black" StrokeThickness="5" StrokeDashArray="5" StrokeDashCap="Round" X1="30" Y1="10" X2="30" Y2="200" /> <Line Stroke="Black" StrokeThickness="5" StrokeDashArray="5" StrokeDashCap="Square" X1="40" Y1="10" X2="40" Y2="200" /> <Line Stroke="Black" StrokeThickness="5" StrokeDashArray="5" StrokeDashCap="Triangle" X1="50" Y1="10" X2="50" Y2="200" /> </Canvas>
status update: cairo _does_ support caps on dashes. but it doesn't allow you to choose different caps for dash, linestart or lineend. as the support for dash caps is now enabled in moonlight, (and the xaml from comment #2 render fine), am duping this bug to bug #345888 - "[cairo] No support for different Start and End LineCaps" and I'll rename that one to reflect the new status. *** This bug has been marked as a duplicate of bug 345888 ***