Author: spouliot Date: 2007-09-26 10:42:38 -0400 (Wed, 26 Sep 2007) New Revision: 86401
Added: trunk/moon/test/xaml/test-animation-path-smoothbezier-stroke.xaml Modified: trunk/moon/test/xaml/test-path-segments-line-stroke.xaml Log: more test cases for bounds Added: trunk/moon/test/xaml/test-animation-path-smoothbezier-stroke.xaml =================================================================== --- trunk/moon/test/xaml/test-animation-path-smoothbezier-stroke.xaml 2007-09-26 14:39:50 UTC (rev 86400) +++ trunk/moon/test/xaml/test-animation-path-smoothbezier-stroke.xaml 2007-09-26 14:42:38 UTC (rev 86401) @@ -0,0 +1,54 @@ +<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> + + <Path x:Name="TheAmazingMovingPath" Fill="#000000" Stroke="#FF00FF" Data="M10,110 C10,60 160,60 160,110 S310,160 310,110 z"> + <Path.Triggers> + <EventTrigger RoutedEvent="Path.Loaded"> + <BeginStoryboard> + <Storyboard x:Name="animation"> + <DoubleAnimation + Storyboard.TargetName="TheAmazingMovingPath" + Storyboard.TargetProperty="(Canvas.Top)" + From="10" To="300" By="25" Duration="0:0:10" + AutoReverse="True" RepeatBehavior="Forever" /> + + <DoubleAnimation + Storyboard.TargetName="TheAmazingMovingPath" + Storyboard.TargetProperty="(Canvas.Left)" + From="10" To="300" By="25" Duration="0:0:15" + AutoReverse="True" RepeatBehavior="Forever" /> + + <DoubleAnimation + Storyboard.TargetName="TheAmazingMovingPath" + Storyboard.TargetProperty="Height" + From="10" To="300" By="25" Duration="0:0:20" + AutoReverse="True" RepeatBehavior="Forever" /> + + <DoubleAnimation + Storyboard.TargetName="TheAmazingMovingPath" + Storyboard.TargetProperty="Width" + From="10" To="300" By="25" Duration="0:0:25" + AutoReverse="True" RepeatBehavior="Forever" /> + + <DoubleAnimation + Storyboard.TargetName="TheAmazingMovingPath" + Storyboard.TargetProperty="StrokeThickness" + From="0.1" To="10" By="0.1" Duration="0:0:10" + AutoReverse="True" RepeatBehavior="Forever" /> + + <DoubleAnimation + Storyboard.TargetName="TheAmazingMovingPath" + Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(RotateTransform.Angle)" + From="0" To="360" By="1" Duration="0:0:30" + AutoReverse="True" RepeatBehavior="Forever" /> + + </Storyboard> + </BeginStoryboard> + </EventTrigger> + </Path.Triggers> + <Path.RenderTransform> + <TransformGroup> + <RotateTransform Angle="0"/> + </TransformGroup> + </Path.RenderTransform> + </Path> +</Canvas> Modified: trunk/moon/test/xaml/test-path-segments-line-stroke.xaml =================================================================== --- trunk/moon/test/xaml/test-path-segments-line-stroke.xaml 2007-09-26 14:39:50 UTC (rev 86400) +++ trunk/moon/test/xaml/test-path-segments-line-stroke.xaml 2007-09-26 14:42:38 UTC (rev 86401) @@ -34,4 +34,16 @@ <Path Stroke="#FF00FF" StrokeThickness="8" Data="M 310,10 V 110" /> <Path Stroke="#FF00FF" StrokeThickness="9" Data="M 320,10 V 110" /> <Path Stroke="#FF00FF" StrokeThickness="10" Data="M 330,10 V 110" /> + + <Path Stroke="#FF00FF" StrokeThickness="0" Data="M 10,240 L 50,280" /> + <Path Stroke="#FF00FF" StrokeThickness="1" Data="M 30,240 L 70,280" /> + <Path Stroke="#FF00FF" StrokeThickness="2" Data="M 50,240 L 90,280" /> + <Path Stroke="#FF00FF" StrokeThickness="3" Data="M 70,240 L 110,280" /> + <Path Stroke="#FF00FF" StrokeThickness="4" Data="M 90,240 L 130,280" /> + <Path Stroke="#FF00FF" StrokeThickness="5" Data="M 110,240 L 150,280" /> + <Path Stroke="#FF00FF" StrokeThickness="6" Data="M 130,240 L 170,280" /> + <Path Stroke="#FF00FF" StrokeThickness="7" Data="M 150,240 L 190,280" /> + <Path Stroke="#FF00FF" StrokeThickness="8" Data="M 170,240 L 210,280" /> + <Path Stroke="#FF00FF" StrokeThickness="9" Data="M 190,240 L 230,280" /> + <Path Stroke="#FF00FF" StrokeThickness="10" Data="M 210,240 L 250,280" /> </Canvas> _______________________________________________ Mono-patches maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-patches
