* MoonlightTypeConverter.cs: Convert CacheMode's from strings.
[moon.git] / test / xaml / test-geometry-transform.xaml
blobaaae066f0e261b6ad245a3c898484fc1a8634e54
1 <Canvas xmlns="http://schemas.microsoft.com/client/2007">
2    <Path Fill="Green" Stroke="Black" Canvas.Left="120" Canvas.Top="30">
3       <Path.Data>
4          <PathGeometry>
5             <PathGeometry.Transform>
6                <RotateTransform Angle="45" />  
7             </PathGeometry.Transform>
8             <PathGeometry.Figures>
9                <PathFigure StartPoint="10,10">
10                   <PathFigure.Segments>
11                      <LineSegment Point="10,40"/>
12                      <LineSegment Point="40,30"/>
13                   </PathFigure.Segments>
14                </PathFigure>
15             </PathGeometry.Figures>
16          </PathGeometry>
17       </Path.Data>
18    </Path>
19    <Path Stroke="Red" StrokeThickness="5" Canvas.Left="120" Canvas.Top="100">
20       <Path.Data>
21         <LineGeometry StartPoint="10,10" EndPoint="10,40">
22           <LineGeometry.Transform>
23             <RotateTransform Angle="45"/>
24           </LineGeometry.Transform>
25         </LineGeometry>
26       </Path.Data>
27    </Path>
28    <Path Fill="Orange" Stroke="green" StrokeThickness="5" Canvas.Left="120" Canvas.Top="150">
29       <Path.Data>
30         <EllipseGeometry Center="10,10" RadiusX="20" RadiusY="30">
31           <EllipseGeometry.Transform>
32             <RotateTransform Angle="-30"/>
33           </EllipseGeometry.Transform>
34         </EllipseGeometry>
35       </Path.Data>
36    </Path>
37    <Path Fill="Orange" Stroke="blue" StrokeThickness=".7" Canvas.Left="120" Canvas.Top="200">
38       <Path.Data>
39         <RectangleGeometry Rect="10,10,10,40">
40           <RectangleGeometry.Transform>
41             <RotateTransform Angle="70"/>
42           </RectangleGeometry.Transform>
43         </RectangleGeometry>
44       </Path.Data>
45    </Path>
46    <Path Fill="Red" Stroke="blue" StrokeThickness=".7" Canvas.Left="180" Canvas.Top="10">
47       <Path.Data>
48         <GeometryGroup>
49           <GeometryGroup.Transform>
50             <RotateTransform Angle="70"/>
51           </GeometryGroup.Transform>
52           <PathGeometry>
53             <PathGeometry.Transform>
54               <TranslateTransform Y="50"/>
55             </PathGeometry.Transform>
56             <PathGeometry.Figures>
57               <PathFigure StartPoint="10,10">
58               <PathFigure.Segments>
59                 <LineSegment Point="10,40"/>
60                 <LineSegment Point="40,30"/>
61                 </PathFigure.Segments>
62               </PathFigure>
63             </PathGeometry.Figures>
64           </PathGeometry>
65         <LineGeometry StartPoint="10,10" EndPoint="10,40">
66           <LineGeometry.Transform>
67             <TranslateTransform Y="100"/>
68             
69           </LineGeometry.Transform>
70         </LineGeometry>
71         <RectangleGeometry Rect="10,10,10,40">
72           <RectangleGeometry.Transform>
73             <TranslateTransform Y="150"/>
74           </RectangleGeometry.Transform>
75         </RectangleGeometry>
76         <EllipseGeometry Center="10,10" RadiusX="20" RadiusY="30">
77           <EllipseGeometry.Transform>
78             <TranslateTransform Y="200"/>
79           </EllipseGeometry.Transform>
80         </EllipseGeometry>
81          </GeometryGroup>
82       </Path.Data>
83    </Path>
84 </Canvas>