2009-08-26 Chris Toshok <toshok@ximian.com>
[moon.git] / perf / perf-suite-set / simple-blending.html
bloba2666b68632761197430bd63a02ec8fcaba395c4
1 <html>
2 <head>
3 <style type="text/css">
4 body {
5 margin-left: 0;
6 margin-top: 0;
7 padding: 0;
8 };
10 embed {
11 margin-left: 0;
12 margin-top: 0;
13 margin-right: 0;
14 margin-bottom: 0;
16 </style>
17 </head>
18 <body>
19 <embed type="application/x-silverlight" data="data:," id="slControl" width="400" height="400" source="#xamlContent" windowless="true">
20 </embed>
21 <script type="text/xaml" id="xamlContent">
22 <?xml version="1.0"?>
23 <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
24 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="MasterCanvas">
26 <Image Source="mono.png" Canvas.Left="0" Canvas.Top="0" Opacity="0.1">
27 <Image.RenderTransform>
28 <TransformGroup>
29 <ScaleTransform x:Name="scale" ScaleX="6.3" ScaleY="5.2"/>
30 </TransformGroup>
31 </Image.RenderTransform>
32 </Image>
34 <Image x:Name="img1" Source="mono.png" Canvas.Left="0" Canvas.Top="0" Opacity="0.25">
35 <Image.Triggers>
36 <EventTrigger RoutedEvent="Image.Loaded">
37 <BeginStoryboard>
38 <Storyboard>
39 <DoubleAnimation BeginTime="00:00:00" Storyboard.TargetName="img1" Storyboard.TargetProperty="(Canvas.Left)" To="337" Duration="0:0:5" />
40 <DoubleAnimation BeginTime="00:00:00" Storyboard.TargetName="img1" Storyboard.TargetProperty="(Canvas.Top)" To="324" Duration="0:0:5" />
41 </Storyboard>
42 </BeginStoryboard>
43 </EventTrigger>
44 </Image.Triggers>
45 </Image>
47 <Image x:Name="img2" Source="mono.png" Canvas.Left="0" Canvas.Top="324" Opacity="0.25">
48 <Image.Triggers>
49 <EventTrigger RoutedEvent="Image.Loaded">
50 <BeginStoryboard>
51 <Storyboard>
52 <DoubleAnimation BeginTime="00:00:00" Storyboard.TargetName="img2" Storyboard.TargetProperty="(Canvas.Left)" To="337" Duration="0:0:5" />
53 <DoubleAnimation BeginTime="00:00:00" Storyboard.TargetName="img2" Storyboard.TargetProperty="(Canvas.Top)" To="0" Duration="0:0:5" />
54 </Storyboard>
55 </BeginStoryboard>
56 </EventTrigger>
57 </Image.Triggers>
58 </Image>
60 <Image x:Name="img3" Source="mono.png" Canvas.Left="337" Canvas.Top="324" Opacity="0.25">
61 <Image.Triggers>
62 <EventTrigger RoutedEvent="Image.Loaded">
63 <BeginStoryboard>
64 <Storyboard>
65 <DoubleAnimation BeginTime="00:00:00" Storyboard.TargetName="img3" Storyboard.TargetProperty="(Canvas.Left)" To="0" Duration="0:0:5" />
66 <DoubleAnimation BeginTime="00:00:00" Storyboard.TargetName="img3" Storyboard.TargetProperty="(Canvas.Top)" To="0" Duration="0:0:5" />
67 </Storyboard>
68 </BeginStoryboard>
69 </EventTrigger>
70 </Image.Triggers>
71 </Image>
73 <Image x:Name="img4" Source="mono.png" Canvas.Left="337" Canvas.Top="0" Opacity="0.25">
74 <Image.Triggers>
75 <EventTrigger RoutedEvent="Image.Loaded">
76 <BeginStoryboard>
77 <Storyboard>
78 <DoubleAnimation BeginTime="00:00:00" Storyboard.TargetName="img4" Storyboard.TargetProperty="(Canvas.Left)" To="0" Duration="0:0:5" />
79 <DoubleAnimation BeginTime="00:00:00" Storyboard.TargetName="img4" Storyboard.TargetProperty="(Canvas.Top)" To="324" Duration="0:0:5" />
80 </Storyboard>
81 </BeginStoryboard>
82 </EventTrigger>
83 </Image.Triggers>
84 </Image>
86 </Canvas>
87 </script>
88 </body>
89 </html>