Author: spouliot Date: 2007-08-28 09:42:05 -0400 (Tue, 28 Aug 2007) New Revision: 84950
Added: trunk/moon/test/xaml/test-path-group-ellipse.xaml trunk/moon/test/xaml/test-path-group-rectangle.xaml Log: FillRule processing test case, Group overides childs Added: trunk/moon/test/xaml/test-path-group-ellipse.xaml =================================================================== --- trunk/moon/test/xaml/test-path-group-ellipse.xaml 2007-08-28 13:08:36 UTC (rev 84949) +++ trunk/moon/test/xaml/test-path-group-ellipse.xaml 2007-08-28 13:42:05 UTC (rev 84950) @@ -0,0 +1,22 @@ +<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Path Fill="#770000FF" Stroke="#77777777" StrokeThickness="3"> + <Path.Data> + <!-- group FillRule overides it's childs --> + <GeometryGroup FillRule="EvenOdd"> + <EllipseGeometry Center="120,40" RadiusX="20" RadiusY="20" FillRule="Nonzero" /> + <EllipseGeometry Center="240,160" RadiusX="200" RadiusY="150" FillRule="Nonzero" /> + <EllipseGeometry Center="360,40" RadiusX="20" RadiusY="20" FillRule="Nonzero" /> + </GeometryGroup> + </Path.Data> + </Path> + <Path Fill="#3300FF00" Stroke="#33333333" StrokeThickness="10"> + <Path.Data> + <!-- group FillRule overides it's childs --> + <GeometryGroup FillRule="Nonzero"> + <EllipseGeometry Center="120,380" RadiusX="20" RadiusY="20" FillRule="EvenOdd" /> + <EllipseGeometry Center="240,260" RadiusX="200" RadiusY="150" FillRule="EvenOdd" /> + <EllipseGeometry Center="360,380" RadiusX="20" RadiusY="20" FillRule="EvenOdd" /> + </GeometryGroup> + </Path.Data> + </Path> +</Canvas> Added: trunk/moon/test/xaml/test-path-group-rectangle.xaml =================================================================== --- trunk/moon/test/xaml/test-path-group-rectangle.xaml 2007-08-28 13:08:36 UTC (rev 84949) +++ trunk/moon/test/xaml/test-path-group-rectangle.xaml 2007-08-28 13:42:05 UTC (rev 84950) @@ -0,0 +1,22 @@ +<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Path Fill="#770000FF" Stroke="#77777777" StrokeThickness="3"> + <Path.Data> + <!-- group FillRule overides it's childs --> + <GeometryGroup FillRule="EvenOdd"> + <RectangleGeometry Rect="20,40 200 200" FillRule="Nonzero" /> + <RectangleGeometry Rect="50,20,100,100" RadiusX="20" RadiusY="20" FillRule="Nonzero" /> + <RectangleGeometry Rect="100,100 100 100" FillRule="Nonzero" /> + </GeometryGroup> + </Path.Data> + </Path> + <Path Fill="#3300FF00" Stroke="#33333333" StrokeThickness="10"> + <Path.Data> + <!-- group FillRule overides it's childs --> + <GeometryGroup FillRule="Nonzero"> + <RectangleGeometry Rect="120,140 200 200" FillRule="EvenOdd" /> + <RectangleGeometry Rect="150,120,100,100" RadiusX="20" RadiusY="20" FillRule="EvenOdd" /> + <RectangleGeometry Rect="200,200 100 100" FillRule="EvenOdd" /> + </GeometryGroup> + </Path.Data> + </Path> +</Canvas> _______________________________________________ Mono-patches maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-patches
