Author: jackson
Date: 2007-06-11 19:27:14 -0400 (Mon, 11 Jun 2007)
New Revision: 79218
Added:
trunk/moon/test/xaml/test-path-figure-collection.xaml
Log:
New test, tests the three ways of setting the elements in a
PathFigureCollection.
Added: trunk/moon/test/xaml/test-path-figure-collection.xaml
===================================================================
--- trunk/moon/test/xaml/test-path-figure-collection.xaml 2007-06-11
22:47:05 UTC (rev 79217)
+++ trunk/moon/test/xaml/test-path-figure-collection.xaml 2007-06-11
23:27:14 UTC (rev 79218)
@@ -0,0 +1,51 @@
+<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
+
+ <Path Stroke="Black" StrokeThickness="2">
+ <Path.Data>
+ <PathGeometry>
+ <PathGeometry.Figures>
+ <PathFigureCollection>
+ <PathFigure StartPoint="10,10">
+ <PathFigure.Segments>
+ <PathSegmentCollection>
+ <LineSegment Point="110,10" />
+ </PathSegmentCollection>
+ </PathFigure.Segments>
+ </PathFigure>
+ </PathFigureCollection>
+ </PathGeometry.Figures>
+ </PathGeometry>
+ </Path.Data>
+ </Path>
+
+ <Path Stroke="Red" StrokeThickness="2">
+ <Path.Data>
+ <PathGeometry>
+ <PathGeometry.Figures>
+ <PathFigure StartPoint="20,20">
+ <PathFigure.Segments>
+ <PathSegmentCollection>
+ <LineSegment Point="120,20" />
+ </PathSegmentCollection>
+ </PathFigure.Segments>
+ </PathFigure>
+ </PathGeometry.Figures>
+ </PathGeometry>
+ </Path.Data>
+ </Path>
+
+ <Path Stroke="Blue" StrokeThickness="2">
+ <Path.Data>
+ <PathGeometry>
+ <PathFigure StartPoint="30,30">
+ <PathFigure.Segments>
+ <PathSegmentCollection>
+ <LineSegment Point="130,30" />
+ </PathSegmentCollection>
+ </PathFigure.Segments>
+ </PathFigure>
+ </PathGeometry>
+ </Path.Data>
+ </Path>
+
+</Canvas>
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches