2007-03-19 Jonathan Pobst <monkey@jpobst.com>
[mono.git] / mcs / class / System.Drawing / System.Drawing.Drawing2D / GraphicsContainer.cs
index 3a046e61dc01d6477099295574e4330892d4c68c..55ffa6661242c758cc3a4c49481e4f8cad5722c0 100644 (file)
@@ -1,15 +1,12 @@
-//\r
-// System.Drawing.Drawing2D.GraphicsContainer.cs\r
-//\r
-// Authors:\r
+//
+// System.Drawing.Drawing2D.GraphicsContainer.cs
+//
+// Authors:
 //   Dennis Hayes (dennish@Raytek.com)
-//   Andreas Nahr (ClassDevelopment@A-SoftTech.com)\r
-//\r
-// (C) 2002/3 Ximian, Inc\r
-//\r
-
+//   Andreas Nahr (ClassDevelopment@A-SoftTech.com)
 //
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// (C) 2002/3 Ximian, Inc
+// Copyright (C) 2004,2006 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
 // 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;\r
-\r
-namespace System.Drawing.Drawing2D {\r
-       /// <summary>\r
-       /// Summary description for GraphicsContainer.\r
-       /// </summary>\r
-       public sealed class GraphicsContainer : MarshalByRefObject {\r
-               \r
-               internal int nativeState = 0;\r
-               \r
-               private GraphicsContainer ()
-               {\r
-                       
-               }\r
-               \r
-               internal GraphicsContainer (int state)
-               {\r
+
+namespace System.Drawing.Drawing2D {
+
+       public sealed class GraphicsContainer : MarshalByRefObject {
+               
+               private uint nativeState;
+
+               internal GraphicsContainer (uint state)
+               {
                        nativeState = state;
-               }\r
-               \r
-               internal int NativeObject{            \r
-                               get{\r
-                                               return nativeState;\r
-                               }\r
-                               set     {\r
-                                               nativeState = value;\r
-                               }\r
-                       }\r
-       }\r
-}\r
+               }
+               
+               internal uint NativeObject {
+                       get {
+                               return nativeState;
+                       }
+               }
+       }
+}