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

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

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

revision 72 by william, Thu Jul 15 14:22:00 2010 UTC revision 73 by william, Thu Jul 15 14:31:59 2010 UTC
# Line 13  namespace gr2lib.core.coretypes.implemen Line 13  namespace gr2lib.core.coretypes.implemen
13    
14          public IntPtr NativePointer;          public IntPtr NativePointer;
15    
16            public Layout()
17            {
18                this.BytesPerPixel = 0;
19                this.ShiftForComponent = new int[4] { 0, 0, 0, 0 };
20                this.BitsForComponent = new int[4] { 0, 0, 0, 0 };
21                this.NativePointer = IntPtr.Zero;
22            }
23    
24          internal static Layout ReadFromMemory(IntPtr pointer)          internal static Layout ReadFromMemory(IntPtr pointer)
25          {          {
26              if (pointer == IntPtr.Zero) return null;              if (pointer == IntPtr.Zero) return null;

Legend:
Removed from v.72  
changed lines
  Added in v.73

  ViewVC Help
Powered by ViewVC 1.1.22