Author: spouliot
Date: 2007-06-01 11:03:33 -0400 (Fri, 01 Jun 2007)
New Revision: 78416

Added:
   trunk/olive/class/agclr/System.Windows.Shapes/Line.cs
   trunk/olive/class/agclr/System.Windows.Shapes/Path.cs
   trunk/olive/class/agclr/System.Windows.Shapes/Polygon.cs
   trunk/olive/class/agclr/System.Windows.Shapes/Polyline.cs
Modified:
   trunk/olive/class/agclr/System.Windows.Shapes/ChangeLog
Log:
2007-06-01  Sebastien Pouliot  <[EMAIL PROTECTED]> 
        * Line.cs: New.
        * Path.cs: New.
        * Polygon.cs: New.
        * Polyline.cs: New.


Modified: trunk/olive/class/agclr/System.Windows.Shapes/ChangeLog
===================================================================
--- trunk/olive/class/agclr/System.Windows.Shapes/ChangeLog     2007-06-01 
14:56:52 UTC (rev 78415)
+++ trunk/olive/class/agclr/System.Windows.Shapes/ChangeLog     2007-06-01 
15:03:33 UTC (rev 78416)
@@ -1,5 +1,9 @@
-2007-06-01  Sebastien Pouliot  <[EMAIL PROTECTED]>
+2007-06-01  Sebastien Pouliot  <[EMAIL PROTECTED]> 
 
        * Ellipse.cs: New.
+       * Line.cs: New.
+       * Path.cs: New.
+       * Polygon.cs: New.
+       * Polyline.cs: New.
        * Rectangle.cs: New.
        * Shape.cs: New.

Added: trunk/olive/class/agclr/System.Windows.Shapes/Line.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Shapes/Line.cs       2007-06-01 
14:56:52 UTC (rev 78415)
+++ trunk/olive/class/agclr/System.Windows.Shapes/Line.cs       2007-06-01 
15:03:33 UTC (rev 78416)
@@ -0,0 +1,62 @@
+//
+// System.Windows.Shapes.Line
+//
+// Authors:
+//     Sebastien Pouliot  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2007 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+namespace System.Windows.Shapes {
+
+       public class Line : Shape {
+
+               public static readonly DependencyProperty X1Property = 
DependencyProperty.Register ("X1Property", typeof (double), typeof (Line));
+               public static readonly DependencyProperty Y1Property = 
DependencyProperty.Register ("Y1Property", typeof (double), typeof (Line));
+               public static readonly DependencyProperty X2Property = 
DependencyProperty.Register ("X2Property", typeof (double), typeof (Line));
+               public static readonly DependencyProperty Y2Property = 
DependencyProperty.Register ("Y2Property", typeof (double), typeof (Line));
+
+               public Line ()
+               {
+               }
+
+               public double X1 {
+                       get { return (double) GetValue (X1Property); }
+                       set { SetValue (X1Property, value); }
+               }
+
+               public double Y1 {
+                       get { return (double) GetValue (Y1Property); }
+                       set { SetValue (Y1Property, value); }
+               }
+
+               public double X2 {
+                       get { return (double) GetValue (X2Property); }
+                       set { SetValue (X2Property, value); }
+               }
+
+               public double Y2 {
+                       get { return (double) GetValue (Y2Property); }
+                       set { SetValue (Y2Property, value); }
+               }
+       }
+}

Added: trunk/olive/class/agclr/System.Windows.Shapes/Path.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Shapes/Path.cs       2007-06-01 
14:56:52 UTC (rev 78415)
+++ trunk/olive/class/agclr/System.Windows.Shapes/Path.cs       2007-06-01 
15:03:33 UTC (rev 78416)
@@ -0,0 +1,46 @@
+//
+// System.Windows.Shapes.Path
+//
+// Authors:
+//     Sebastien Pouliot  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2007 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System.Windows.Media;
+
+namespace System.Windows.Shapes {
+
+       public class Path : Shape {
+
+               public static readonly DependencyProperty DataProperty = 
DependencyProperty.Register ("DataProperty", typeof (Geometry), typeof (Path));
+               
+               public Path ()
+               {
+               }
+
+               public Geometry RadiusX {
+                       get { return (Geometry) GetValue (DataProperty); }
+                       set { SetValue (DataProperty, value); }
+               }
+       }
+}

Added: trunk/olive/class/agclr/System.Windows.Shapes/Polygon.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Shapes/Polygon.cs    2007-06-01 
14:56:52 UTC (rev 78415)
+++ trunk/olive/class/agclr/System.Windows.Shapes/Polygon.cs    2007-06-01 
15:03:33 UTC (rev 78416)
@@ -0,0 +1,52 @@
+//
+// System.Windows.Shapes.Polygon
+//
+// Authors:
+//     Sebastien Pouliot  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2007 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System.Windows.Media;
+
+namespace System.Windows.Shapes {
+
+       public class Polygon : Shape {
+
+               public static readonly DependencyProperty FillRuleProperty = 
DependencyProperty.Register ("FillRuleProperty", typeof (FillRule), typeof 
(Polygon));
+               public static readonly DependencyProperty PointsProperty = 
DependencyProperty.Register ("PointsProperty", typeof (Point[]), typeof 
(Polygon));
+
+               public Polygon ()
+               {
+               }
+
+               public FillRule FillRule {
+                       get { return (FillRule) GetValue (FillRuleProperty); }
+                       set { SetValue (FillRuleProperty, value); }
+               }
+
+               public Point[] Points {
+                       get { return (Point[]) GetValue (PointsProperty); }
+                       set { SetValue (PointsProperty, value); }
+               }
+       }
+}

Added: trunk/olive/class/agclr/System.Windows.Shapes/Polyline.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Shapes/Polyline.cs   2007-06-01 
14:56:52 UTC (rev 78415)
+++ trunk/olive/class/agclr/System.Windows.Shapes/Polyline.cs   2007-06-01 
15:03:33 UTC (rev 78416)
@@ -0,0 +1,52 @@
+//
+// System.Windows.Shapes.Polyline
+//
+// Authors:
+//     Sebastien Pouliot  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2007 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System.Windows.Media;
+
+namespace System.Windows.Shapes {
+
+       public class Polyline : Shape {
+
+               public static readonly DependencyProperty FillRuleProperty = 
DependencyProperty.Register ("FillRuleProperty", typeof (FillRule), typeof 
(Polyline));
+               public static readonly DependencyProperty PointsProperty = 
DependencyProperty.Register ("PointsProperty", typeof (Point[]), typeof 
(Polyline));
+
+               public Polyline ()
+               {
+               }
+
+               public FillRule FillRule {
+                       get { return (FillRule) GetValue (FillRuleProperty); }
+                       set { SetValue (FillRuleProperty, value); }
+               }
+
+               public Point[] Points {
+                       get { return (Point[]) GetValue (PointsProperty); }
+                       set { SetValue (PointsProperty, value); }
+               }
+       }
+}

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

Reply via email to