* MoonlightTypeConverter.cs: Convert CacheMode's from strings.
[moon.git] / test / xaml / test-clip-invalid-update.xaml
blobe42a17077bd4dae797de9cea76fca8bf954038e6
1 <Canvas xmlns="http://schemas.microsoft.com/client/2007"
2         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Loaded="OnLoaded">
3         <Canvas Opacity="0.5">
4                 <Canvas.Clip>
5                     <RectangleGeometry x:Name="clipRect" Rect="0,0,10,50"/>
6                 </Canvas.Clip>
7                 <Rectangle Fill="Red" StrokeThickness="10" Stroke="Green" Width="100" Height="100" />
8                 <!-- this should be drawn over the previous rectangle (no blending) -->
9                 <Rectangle Canvas.Left="50" Canvas.Top="50" Fill="Blue"
10                            Width="100" Height="100" />
11         </Canvas>
13         <Canvas Canvas.Top="80" Opacity="0.5">
14                 <Canvas.Clip>
15                     <RectangleGeometry x:Name="clipRect2"/>
16                 </Canvas.Clip>
17                 <Rectangle Fill="Green" StrokeThickness="10" Stroke="Red" Width="100" Height="100" />
18                 <!-- this should be drawn over the previous rectangle (no blending) -->
19                 <Rectangle Canvas.Left="50" Canvas.Top="50" Fill="Yellow"
20                            Width="100" Height="100" />
21         </Canvas>
23         <Canvas Canvas.Top="180" Opacity="0.5">
24                 <Canvas.Clip>
25                   <RectangleGeometry x:Name="clipRect3" Rect="0,0,10,50">
26                     <RectangleGeometry.Transform>
27                       <TranslateTransform x:Name="xform" X="10" Y="10"/>
28                     </RectangleGeometry.Transform>
29                   </RectangleGeometry>
30                 </Canvas.Clip>
31                 <Rectangle Fill="Yellow" StrokeThickness="10" Stroke="Purple" Width="100" Height="100" />
32                 <!-- this should be drawn over the previous rectangle (no blending) -->
33                 <Rectangle Canvas.Left="50" Canvas.Top="50" Fill="Yellow"
34                            Width="100" Height="100" />
35         </Canvas>
36 </Canvas>