/[gr2lib]/trunk/gr2lib/core/coretypes/implementation/Pixel.cs
ViewVC logotype

Diff of /trunk/gr2lib/core/coretypes/implementation/Pixel.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/gr2lib/core/coretypes/implementation/Pixel.cs	2010/07/15 14:22:00	72
+++ trunk/gr2lib/core/coretypes/implementation/Pixel.cs	2010/07/15 14:31:59	73
@@ -11,6 +11,11 @@
 
         public IntPtr NativePointer;
 
+        public Pixel()
+        {
+            this.UInt8 = 0;
+            this.NativePointer = IntPtr.Zero;
+        }
         internal static Pixel ReadFromMemory(IntPtr pointer)
         {
             if (pointer == IntPtr.Zero) return null;

 

  ViewVC Help
Powered by ViewVC 1.1.22