Author: jackson
Date: 2007-06-14 22:34:58 -0400 (Thu, 14 Jun 2007)
New Revision: 79665

Added:
   trunk/moon/test/xaml/test-double-keyspline-animation.xaml
Log:

        New test for double keysplines.  Segfaults when the animation
reaches the end.



Added: trunk/moon/test/xaml/test-double-keyspline-animation.xaml
===================================================================
--- trunk/moon/test/xaml/test-double-keyspline-animation.xaml   2007-06-15 
02:31:37 UTC (rev 79664)
+++ trunk/moon/test/xaml/test-double-keyspline-animation.xaml   2007-06-15 
02:34:58 UTC (rev 79665)
@@ -0,0 +1,29 @@
+<Canvas xmlns="http://schemas.microsoft.com/client/2007";
+       xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml";>
+
+       <Ellipse x:Name="MovingEllipse" Fill="Purple" Width="50" Height="50" 
Canvas.Left="0">
+
+       <Ellipse.Triggers>
+
+               <EventTrigger RoutedEvent="Ellipse.Loaded">
+
+               <BeginStoryboard>
+                       <Storyboard>
+
+                               <DoubleAnimationUsingKeyFrames 
Storyboard.TargetName="MovingEllipse"
+                                       
Storyboard.TargetProperty="(Canvas.Left)" Duration="0:0:30"> 
+
+                                       <SplineDoubleKeyFrame Value="0" 
KeyTime="0:0:0" KeySpline="0.0,0.0 0.0,0.0" />
+                                       <SplineDoubleKeyFrame Value="100" 
KeyTime="0:0:5" KeySpline="0.0,1.0 1.0,0.0" />
+                                       <SplineDoubleKeyFrame Value="400" 
KeyTime="0:0:10" KeySpline="0.0,0.0 1.0,0.0" />
+                                       <SplineDoubleKeyFrame Value="250" 
KeyTime="0:0:15" KeySpline="0.25,0.5 0.75,1" />
+              
+                               </DoubleAnimationUsingKeyFrames>
+
+                       </Storyboard>
+               </BeginStoryboard>
+               </EventTrigger>
+    </Ellipse.Triggers> 
+  </Ellipse>
+</Canvas>
+

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to