* MoonlightTypeConverter.cs: Convert CacheMode's from strings.
[moon.git] / test / xaml / test-relativetransform.xaml
blobc7184180397e9932b3757165bd6d5e478b45033d
1 <Canvas
2   xmlns="http://schemas.microsoft.com/client/2007"
3   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4   Width="400" Height="400">
5   <Rectangle Width="63" Height="76" Canvas.Top="10" Canvas.Left="10">
6     <Rectangle.Fill>
7      <ImageBrush ImageSource="mono.png" >
8        <ImageBrush.RelativeTransform>
9          <RotateTransform CenterX="0.5" CenterY="0.5" Angle="45" />
10        </ImageBrush.RelativeTransform>
11      </ImageBrush>
12     </Rectangle.Fill>
13   </Rectangle>
14   <Rectangle Width="63" Height="76" Canvas.Top="10" Canvas.Left="83">
15     <Rectangle.Fill>
16      <ImageBrush ImageSource="mono.png" >
17        <ImageBrush.Transform>
18          <RotateTransform CenterX="31.5" CenterY="38" Angle="45" />
19        </ImageBrush.Transform>
20      </ImageBrush>
21     </Rectangle.Fill>
22   </Rectangle>
23   <Rectangle Width="63" Height="76" Canvas.Top="10" Canvas.Left="156">
24     <Rectangle.Fill>
25      <ImageBrush ImageSource="mono.png" >
26        <ImageBrush.RelativeTransform>
27          <SkewTransform CenterX="0.5" CenterY="0.5" AngleX="10" AngleY="10" />
28        </ImageBrush.RelativeTransform>
29      </ImageBrush>
30     </Rectangle.Fill>
31   </Rectangle>
32   <Rectangle Width="63" Height="76" Canvas.Top="10" Canvas.Left="229">
33     <Rectangle.Fill>
34      <ImageBrush ImageSource="mono.png" >
35        <ImageBrush.Transform>
36          <SkewTransform CenterX="31.5" CenterY="38" AngleX="10"  AngleY="10"/>
37        </ImageBrush.Transform>
38      </ImageBrush>
39     </Rectangle.Fill>
40   </Rectangle>
41   <Rectangle Width="63" Height="76" Canvas.Top="96" Canvas.Left="10">
42     <Rectangle.Fill>
43      <ImageBrush ImageSource="mono.png" >
44        <ImageBrush.RelativeTransform>
45          <SkewTransform CenterX="0.5" CenterY="0.5" AngleX="45"/>
46        </ImageBrush.RelativeTransform>
47      </ImageBrush>
48     </Rectangle.Fill>
49   </Rectangle>
50   <Rectangle Width="63" Height="76" Canvas.Top="96" Canvas.Left="83">
51     <Rectangle.Fill>
52      <ImageBrush ImageSource="mono.png" >
53        <ImageBrush.Transform>
54          <SkewTransform CenterX="31.5" CenterY="38" AngleX="45"/>
55        </ImageBrush.Transform>
56      </ImageBrush>
57     </Rectangle.Fill>
58   </Rectangle>
59   <Rectangle Width="63" Height="76" Canvas.Top="96" Canvas.Left="156">
60     <Rectangle.Fill>
61      <ImageBrush ImageSource="mono.png" >
62        <ImageBrush.RelativeTransform>
63          <SkewTransform AngleX="45"/>
64        </ImageBrush.RelativeTransform>
65      </ImageBrush>
66     </Rectangle.Fill>
67   </Rectangle>
68   <Rectangle Width="63" Height="76" Canvas.Top="96" Canvas.Left="229">
69     <Rectangle.Fill>
70      <ImageBrush ImageSource="mono.png" >
71        <ImageBrush.Transform>
72          <SkewTransform AngleX="45"/>
73        </ImageBrush.Transform>
74      </ImageBrush>
75     </Rectangle.Fill>
76   </Rectangle>
77   <Rectangle Canvas.Top="192" Canvas.Left="10" Width="63" Height="76">
78    <Rectangle.Fill>
79     <LinearGradientBrush StartPoint=".5,0.5" EndPoint="1,1">
80      <LinearGradientBrush.GradientStops>
81       <GradientStop Color="Blue" Offset="0" />
82       <GradientStop Color="Red" Offset="1" />
83      </LinearGradientBrush.GradientStops> 
84      <LinearGradientBrush.RelativeTransform>
85       <RotateTransform CenterX="0.5" CenterY="0.5" Angle="135" />
86      </LinearGradientBrush.RelativeTransform>
87     </LinearGradientBrush>
88    </Rectangle.Fill>
89   </Rectangle>
90   <Rectangle Canvas.Top="192" Canvas.Left="83" Width="63" Height="76">
91    <Rectangle.Fill>
92     <LinearGradientBrush StartPoint=".5,0.5" EndPoint="1,1">
93      <LinearGradientBrush.GradientStops>
94       <GradientStop Color="Blue" Offset="0" />
95       <GradientStop Color="Red" Offset="1" />
96      </LinearGradientBrush.GradientStops> 
97      <LinearGradientBrush.Transform>
98       <RotateTransform CenterX="31.5" CenterY="38" Angle="135" />
99      </LinearGradientBrush.Transform>
100     </LinearGradientBrush>
101    </Rectangle.Fill>
102   </Rectangle>
103   <Rectangle Canvas.Top="192" Canvas.Left="156" Width="63" Height="76">
104    <Rectangle.Fill>
105     <RadialGradientBrush Center=".5,.5" GradientOrigin=".7,.7" RadiusX=".5" RadiusY=".5">
106      <RadialGradientBrush.GradientStops>
107       <GradientStop Color="Blue" Offset="0" />
108       <GradientStop Color="Red" Offset="1" />
109      </RadialGradientBrush.GradientStops> 
110      <RadialGradientBrush.RelativeTransform>
111       <RotateTransform CenterX="0.5" CenterY="0.5" Angle="45" />
112      </RadialGradientBrush.RelativeTransform>
113     </RadialGradientBrush>
114    </Rectangle.Fill>
115   </Rectangle>
116   <Rectangle Canvas.Top="192" Canvas.Left="229" Width="63" Height="76">
117    <Rectangle.Fill>
118     <RadialGradientBrush Center=".5,.5" GradientOrigin=".7,.7" RadiusX=".5" RadiusY=".5">
119      <RadialGradientBrush.GradientStops>
120       <GradientStop Color="Blue" Offset="0" />
121       <GradientStop Color="Red" Offset="1" />
122      </RadialGradientBrush.GradientStops> 
123      <RadialGradientBrush.Transform>
124       <RotateTransform CenterX="31.5" CenterY="38" Angle="45" />
125      </RadialGradientBrush.Transform>
126     </RadialGradientBrush>
127    </Rectangle.Fill>
128   </Rectangle>
129   <Rectangle Canvas.Top="278" Canvas.Left="10" Width="63" Height="76">
130    <Rectangle.Fill>
131     <LinearGradientBrush StartPoint="20,20" EndPoint="50,50" MappingMode="Absolute">
132      <LinearGradientBrush.GradientStops>
133       <GradientStop Color="Blue" Offset="0" />
134       <GradientStop Color="Red" Offset="1" />
135      </LinearGradientBrush.GradientStops> 
136      <LinearGradientBrush.RelativeTransform>
137       <RotateTransform CenterX="0.5" CenterY="0.5" Angle="135" />
138      </LinearGradientBrush.RelativeTransform>
139     </LinearGradientBrush>
140    </Rectangle.Fill>
141   </Rectangle>
142   <Rectangle Canvas.Top="278" Canvas.Left="83" Width="63" Height="76">
143    <Rectangle.Fill>
144     <LinearGradientBrush StartPoint="20,20" EndPoint="50,50" MappingMode="Absolute">
145      <LinearGradientBrush.GradientStops>
146       <GradientStop Color="Blue" Offset="0" />
147       <GradientStop Color="Red" Offset="1" />
148      </LinearGradientBrush.GradientStops> 
149      <LinearGradientBrush.Transform>
150       <RotateTransform CenterX="31.5" CenterY="38" Angle="135" />
151      </LinearGradientBrush.Transform>
152     </LinearGradientBrush>
153    </Rectangle.Fill>
154   </Rectangle>
155 </Canvas>