Author: spouliot
Date: 2007-06-01 11:46:20 -0400 (Fri, 01 Jun 2007)
New Revision: 78423

Added:
   trunk/olive/class/agclr/System.Windows.Media/RectangleGeometry.cs
Modified:
   trunk/olive/class/agclr/System.Windows.Media/ChangeLog
Log:
2007-06-01  Sebastien Pouliot  <[EMAIL PROTECTED]>

        * RectangleGeometry.cs: New.



Modified: trunk/olive/class/agclr/System.Windows.Media/ChangeLog
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/ChangeLog      2007-06-01 
15:45:40 UTC (rev 78422)
+++ trunk/olive/class/agclr/System.Windows.Media/ChangeLog      2007-06-01 
15:46:20 UTC (rev 78423)
@@ -1,3 +1,7 @@
+2007-06-01  Sebastien Pouliot  <[EMAIL PROTECTED]>
+
+       * RectangleGeometry.cs: New.
+
 2007-06-01  Sebastien Pouliot  <[EMAIL PROTECTED]> 
 
        * PenLineCap.cs: New. enum required to complete S.W.Shapes

Added: trunk/olive/class/agclr/System.Windows.Media/RectangleGeometry.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/RectangleGeometry.cs   
2007-06-01 15:45:40 UTC (rev 78422)
+++ trunk/olive/class/agclr/System.Windows.Media/RectangleGeometry.cs   
2007-06-01 15:46:20 UTC (rev 78423)
@@ -0,0 +1,56 @@
+//
+// System.Windows.Media.RectangleGeometry
+//
+// 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.Media {
+
+       public class RectangleGeometry : Geometry {
+
+               public static readonly DependencyProperty RadiusXProperty = 
DependencyProperty.Register ("RadiusX", typeof (double), typeof 
(RectangleGeometry));
+               public static readonly DependencyProperty RadiusYProperty = 
DependencyProperty.Register ("RadiusY", typeof (double), typeof 
(RectangleGeometry));
+               public static readonly DependencyProperty RectProperty = 
DependencyProperty.Register ("Rect", typeof (Rect), typeof (RectangleGeometry));
+
+               public RectangleGeometry ()
+               {
+               }
+
+               public double RadiusX {
+                       get { return (double) GetValue (RadiusXProperty); }
+                       set { SetValue (RadiusXProperty, value); }
+               }
+
+               public double RadiusY {
+                       get { return (double) GetValue (RadiusYProperty); }
+                       set { SetValue (RadiusYProperty, value); }
+               }
+
+               public Rect Rect {
+                       get { return (Rect) GetValue (RectProperty); }
+                       set { SetValue (RectProperty, value); }
+               }
+       }
+}

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

Reply via email to