* MoonlightTypeConverter.cs: Convert CacheMode's from strings.
[moon.git] / test / xaml / test-shape-line-caps.xaml
blob81502c56db88280f45c515d8afd460ecc5dd6236
1 <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
2         <!-- Start Only -->
3         <Line Stroke="#FF00FF" StrokeThickness="5" X1="10" Y1="10" X2="40"  Y2="40" StrokeStartLineCap="Flat" />
4         <Line Stroke="#FF00FF" StrokeThickness="5" X1="30" Y1="10" X2="60"  Y2="40" StrokeStartLineCap="Round" />
5         <Line Stroke="#FF00FF" StrokeThickness="5" X1="50" Y1="10" X2="80"  Y2="40" StrokeStartLineCap="Square" />
6         <Line Stroke="#FF00FF" StrokeThickness="5" X1="70" Y1="10" X2="100" Y2="40" StrokeStartLineCap="Triangle" />
8         <Line Stroke="#FF00FF" StrokeThickness="5" X1="110" Y1="10" X2="110" Y2="40" StrokeStartLineCap="Flat" />
9         <Line Stroke="#FF00FF" StrokeThickness="5" X1="130" Y1="10" X2="130" Y2="40" StrokeStartLineCap="Round" />
10         <Line Stroke="#FF00FF" StrokeThickness="5" X1="150" Y1="10" X2="150" Y2="40" StrokeStartLineCap="Square" />
11         <Line Stroke="#FF00FF" StrokeThickness="5" X1="170" Y1="10" X2="170" Y2="40" StrokeStartLineCap="Triangle" />
13         <Line Stroke="#FF00FF" StrokeThickness="5" X1="190" Y1="10" X2="220" Y2="10" StrokeStartLineCap="Flat" />
14         <Line Stroke="#FF00FF" StrokeThickness="5" X1="190" Y1="20" X2="220" Y2="20" StrokeStartLineCap="Round" />
15         <Line Stroke="#FF00FF" StrokeThickness="5" X1="190" Y1="30" X2="220" Y2="30" StrokeStartLineCap="Square" />
16         <Line Stroke="#FF00FF" StrokeThickness="5" X1="190" Y1="40" X2="220" Y2="40" StrokeStartLineCap="Triangle" />
18         <!-- End Only -->
19         <Line Stroke="#FF00FF" StrokeThickness="5" X1="10" Y1="50" X2="40"  Y2="80" StrokeEndLineCap="Flat" />
20         <Line Stroke="#FF00FF" StrokeThickness="5" X1="30" Y1="50" X2="60"  Y2="80" StrokeEndLineCap="Round" />
21         <Line Stroke="#FF00FF" StrokeThickness="5" X1="50" Y1="50" X2="80"  Y2="80" StrokeEndLineCap="Square" />
22         <Line Stroke="#FF00FF" StrokeThickness="5" X1="70" Y1="50" X2="100" Y2="80" StrokeEndLineCap="Triangle" />
24         <Line Stroke="#FF00FF" StrokeThickness="5" X1="110" Y1="50" X2="110" Y2="80" StrokeEndLineCap="Flat" />
25         <Line Stroke="#FF00FF" StrokeThickness="5" X1="130" Y1="50" X2="130" Y2="80" StrokeEndLineCap="Round" />
26         <Line Stroke="#FF00FF" StrokeThickness="5" X1="150" Y1="50" X2="150" Y2="80" StrokeEndLineCap="Square" />
27         <Line Stroke="#FF00FF" StrokeThickness="5" X1="170" Y1="50" X2="170" Y2="80" StrokeEndLineCap="Triangle" />
29         <Line Stroke="#FF00FF" StrokeThickness="5" X1="190" Y1="50" X2="220" Y2="50" StrokeEndLineCap="Flat" />
30         <Line Stroke="#FF00FF" StrokeThickness="5" X1="190" Y1="60" X2="220" Y2="60" StrokeEndLineCap="Round" />
31         <Line Stroke="#FF00FF" StrokeThickness="5" X1="190" Y1="70" X2="220" Y2="70" StrokeEndLineCap="Square" />
32         <Line Stroke="#FF00FF" StrokeThickness="5" X1="190" Y1="80" X2="220" Y2="80" StrokeEndLineCap="Triangle" />
34         <!-- Mixed -->
35         <Line Stroke="#FF00FF" StrokeThickness="5" X1="10" Y1="90" X2="40"  Y2="120" StrokeStartLineCap="Round" StrokeEndLineCap="Square" />
36         <Line Stroke="#FF00FF" StrokeThickness="5" X1="30" Y1="90" X2="60"  Y2="120" StrokeStartLineCap="Round" StrokeEndLineCap="Triangle" />
37         <Line Stroke="#FF00FF" StrokeThickness="5" X1="50" Y1="90" X2="80"  Y2="120" StrokeStartLineCap="Square" StrokeEndLineCap="Round" />
38         <Line Stroke="#FF00FF" StrokeThickness="5" X1="70" Y1="90" X2="100" Y2="120" StrokeStartLineCap="Square" StrokeEndLineCap="Triangle" />
40         <Line Stroke="#FF00FF" StrokeThickness="5" X1="110" Y1="90" X2="110" Y2="120" StrokeStartLineCap="Round" StrokeEndLineCap="Square" />
41         <Line Stroke="#FF00FF" StrokeThickness="5" X1="130" Y1="90" X2="130" Y2="120" StrokeStartLineCap="Round" StrokeEndLineCap="Triangle" />
42         <Line Stroke="#FF00FF" StrokeThickness="5" X1="150" Y1="90" X2="150" Y2="120" StrokeStartLineCap="Square" StrokeEndLineCap="Round" />
43         <Line Stroke="#FF00FF" StrokeThickness="5" X1="170" Y1="90" X2="170" Y2="120" StrokeStartLineCap="Square" StrokeEndLineCap="Triangle" />
45         <Line Stroke="#FF00FF" StrokeThickness="5" X1="190" Y1="90" X2="220" Y2="90" StrokeStartLineCap="Round" StrokeEndLineCap="Square" />
46         <Line Stroke="#FF00FF" StrokeThickness="5" X1="190" Y1="100" X2="220" Y2="100" StrokeStartLineCap="Round" StrokeEndLineCap="Triangle" />
47         <Line Stroke="#FF00FF" StrokeThickness="5" X1="190" Y1="110" X2="220" Y2="110" StrokeStartLineCap="Square" StrokeEndLineCap="Round" />
48         <Line Stroke="#FF00FF" StrokeThickness="5" X1="190" Y1="120" X2="220" Y2="120" StrokeStartLineCap="Square" StrokeEndLineCap="Triangle" />
50         <Line Stroke="#FF00FF" StrokeThickness="5" X1="10" Y1="130" X2="40"  Y2="160" StrokeStartLineCap="Triangle" StrokeEndLineCap="Round" />
51         <Line Stroke="#FF00FF" StrokeThickness="5" X1="30" Y1="130" X2="60"  Y2="160" StrokeStartLineCap="Triangle" StrokeEndLineCap="Square" />
52         <Line Stroke="#FF00FF" StrokeThickness="5" X1="50" Y1="130" X2="80"  Y2="160" StrokeStartLineCap="Flat" StrokeEndLineCap="Square" />
53         <Line Stroke="#FF00FF" StrokeThickness="5" X1="70" Y1="130" X2="100" Y2="160" StrokeStartLineCap="Flat" StrokeEndLineCap="Triangle" />
55         <Line Stroke="#FF00FF" StrokeThickness="5" X1="110" Y1="130" X2="110" Y2="160" StrokeStartLineCap="Triangle" StrokeEndLineCap="Round" />
56         <Line Stroke="#FF00FF" StrokeThickness="5" X1="130" Y1="130" X2="130" Y2="160" StrokeStartLineCap="Triangle" StrokeEndLineCap="Square" />
57         <Line Stroke="#FF00FF" StrokeThickness="5" X1="150" Y1="130" X2="150" Y2="160" StrokeStartLineCap="Flat" StrokeEndLineCap="Square" />
58         <Line Stroke="#FF00FF" StrokeThickness="5" X1="170" Y1="130" X2="170" Y2="160" StrokeStartLineCap="Flat" StrokeEndLineCap="Triangle" />
60         <Line Stroke="#FF00FF" StrokeThickness="5" X1="190" Y1="130" X2="220" Y2="130" StrokeStartLineCap="Triangle" StrokeEndLineCap="Round" />
61         <Line Stroke="#FF00FF" StrokeThickness="5" X1="190" Y1="140" X2="220" Y2="140" StrokeStartLineCap="Triangle" StrokeEndLineCap="Square" />
62         <Line Stroke="#FF00FF" StrokeThickness="5" X1="190" Y1="150" X2="220" Y2="150" StrokeStartLineCap="Flat" StrokeEndLineCap="Square" />
63         <Line Stroke="#FF00FF" StrokeThickness="5" X1="190" Y1="160" X2="220" Y2="160" StrokeStartLineCap="Flat" StrokeEndLineCap="Triangle" />
65         <!-- Polylines with a single segment also renders like a line -->
66         <Polyline Points="10,40 40,10" Fill="#000000" Stroke="#FF00FF" StrokeThickness="5" Canvas.Left="220" Canvas.Top="0" StrokeStartLineCap="Flat" />
67         <Polyline Points="10,40 40,10" Fill="#000000" Stroke="#FF00FF" StrokeThickness="5" Canvas.Left="240" Canvas.Top="0" StrokeStartLineCap="Round" />
68         <Polyline Points="10,40 40,10" Fill="#000000" Stroke="#FF00FF" StrokeThickness="5" Canvas.Left="260" Canvas.Top="0" StrokeStartLineCap="Square" />
69         <Polyline Points="10,40 40,10" Fill="#000000" Stroke="#FF00FF" StrokeThickness="5" Canvas.Left="280" Canvas.Top="0" StrokeStartLineCap="Triangle" />
71         <Polyline Points="10,40 40,10" Fill="#000000" Stroke="#FF00FF" StrokeThickness="5" Canvas.Left="220" Canvas.Top="40" StrokeEndLineCap="Flat" />
72         <Polyline Points="10,40 40,10" Fill="#000000" Stroke="#FF00FF" StrokeThickness="5" Canvas.Left="240" Canvas.Top="40" StrokeEndLineCap="Round" />
73         <Polyline Points="10,40 40,10" Fill="#000000" Stroke="#FF00FF" StrokeThickness="5" Canvas.Left="260" Canvas.Top="40" StrokeEndLineCap="Square" />
74         <Polyline Points="10,40 40,10" Fill="#000000" Stroke="#FF00FF" StrokeThickness="5" Canvas.Left="280" Canvas.Top="40" StrokeEndLineCap="Triangle" />
76         <Polyline Points="10,40 40,10" Fill="#000000" Stroke="#FF00FF" StrokeThickness="5" Canvas.Left="220" Canvas.Top="80" StrokeStartLineCap="Round" StrokeEndLineCap="Square" />
77         <Polyline Points="10,40 40,10" Fill="#000000" Stroke="#FF00FF" StrokeThickness="5" Canvas.Left="240" Canvas.Top="80" StrokeStartLineCap="Round" StrokeEndLineCap="Triangle" />
78         <Polyline Points="10,40 40,10" Fill="#000000" Stroke="#FF00FF" StrokeThickness="5" Canvas.Left="260" Canvas.Top="80" StrokeStartLineCap="Square" StrokeEndLineCap="Round" />
79         <Polyline Points="10,40 40,10" Fill="#000000" Stroke="#FF00FF" StrokeThickness="5" Canvas.Left="280" Canvas.Top="80" StrokeStartLineCap="Square" StrokeEndLineCap="Triangle" />
81         <Polyline Points="10,40 40,10" Fill="#000000" Stroke="#FF00FF" StrokeThickness="5" Canvas.Left="220" Canvas.Top="120" StrokeStartLineCap="Triangle" StrokeEndLineCap="Round" />
82         <Polyline Points="10,40 40,10" Fill="#000000" Stroke="#FF00FF" StrokeThickness="5" Canvas.Left="240" Canvas.Top="120" StrokeStartLineCap="Triangle" StrokeEndLineCap="Square" />
83         <Polyline Points="10,40 40,10" Fill="#000000" Stroke="#FF00FF" StrokeThickness="5" Canvas.Left="260" Canvas.Top="120" StrokeStartLineCap="Flat" StrokeEndLineCap="Square" />
84         <Polyline Points="10,40 40,10" Fill="#000000" Stroke="#FF00FF" StrokeThickness="5" Canvas.Left="280" Canvas.Top="120" StrokeStartLineCap="Flat" StrokeEndLineCap="Triangle" />
85 </Canvas>