* MoonlightTypeConverter.cs: Convert CacheMode's from strings.
[moon.git] / perf / perf-suite-set / scaling-image.html
blob57e1b190cd79e348c6f338f1765af12e56ca8cc3
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">
27 <Image.RenderTransform>
28 <TransformGroup>
29 <ScaleTransform x:Name="scale" ScaleX="1" ScaleY="1"/>
30 </TransformGroup>
31 </Image.RenderTransform>
32 <Image.Triggers>
33 <EventTrigger RoutedEvent="Image.Loaded">
34 <BeginStoryboard>
35 <Storyboard>
36 <DoubleAnimation BeginTime="00:00:00" Storyboard.TargetName="scale" Storyboard.TargetProperty="ScaleX" To="6.3" Duration="0:0:5" />
37 <DoubleAnimation BeginTime="00:00:00" Storyboard.TargetName="scale" Storyboard.TargetProperty="ScaleY" To="5.2" Duration="0:0:5" />
38 </Storyboard>
39 </BeginStoryboard>
40 </EventTrigger>
41 </Image.Triggers>
42 </Image>
44 </Canvas>
45 </script>
46 </body>
47 </html>