/[gr2lib]/trunk/gr2lib/core/typedefs/granny_pixel_layouts.cs
ViewVC logotype

Diff of /trunk/gr2lib/core/typedefs/granny_pixel_layouts.cs

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

revision 148 by william, Tue Jul 20 08:11:31 2010 UTC revision 167 by william, Thu Jul 22 14:55:47 2010 UTC
# Line 10  namespace gr2lib.core.typedefs Line 10  namespace gr2lib.core.typedefs
10    
11      public enum granny_pixel_layout      public enum granny_pixel_layout
12      {      {
13            //GrannyRGB555PixelFormat,
14            //GrannyRGB565PixelFormat,
15            //GrannyRGBA5551PixelFormat,
16            //GrannyRGBA4444PixelFormat,
17            //GrannyRGB888PixelFormat,
18            //GrannyRGBA8888PixelFormat,
19            //GrannyARGB8888PixelFormat,
20            //GrannyBGR555PixelFormat,
21            //GrannyBGR565PixelFormat,
22            //GrannyBGRA5551PixelFormat,
23            //GrannyBGRA4444PixelFormat,
24            //GrannyBGR888PixelFormat,
25            //GrannyBGRA8888PixelFormat
26    
27            GrannyBGR555PixelFormat,
28            GrannyBGR565PixelFormat,
29            GrannyBGRA5551PixelFormat,
30            GrannyBGRA4444PixelFormat,
31            GrannyBGR888PixelFormat,
32            GrannyBGRA8888PixelFormat,
33          GrannyRGB555PixelFormat,          GrannyRGB555PixelFormat,
34          GrannyRGB565PixelFormat,          GrannyRGB565PixelFormat,
35          GrannyRGBA5551PixelFormat,          GrannyRGBA5551PixelFormat,
36          GrannyRGBA4444PixelFormat,          GrannyRGBA4444PixelFormat,
37          GrannyRGB888PixelFormat,          GrannyRGB888PixelFormat,
38          GrannyRGBA8888PixelFormat,          GrannyRGBA8888PixelFormat,
39          GrannyARGB8888PixelFormat,          GrannyARGB8888PixelFormat
40          GrannyBGR555PixelFormat,  
         GrannyBGR565PixelFormat,  
         GrannyBGRA5551PixelFormat,  
         GrannyBGRA4444PixelFormat,  
         GrannyBGR888PixelFormat,  
         GrannyBGRA8888PixelFormat  
41      }      }
42    
43      public struct granny_pixel_layouts      public struct granny_pixel_layouts
# Line 78  namespace gr2lib.core.typedefs Line 93  namespace gr2lib.core.typedefs
93                      IntPtr addr = coreapi.GetProcAddress(hdl, "GrannyRGB555PixelFormat");                      IntPtr addr = coreapi.GetProcAddress(hdl, "GrannyRGB555PixelFormat");
94                      if (addr != IntPtr.Zero)                      if (addr != IntPtr.Zero)
95                      {                      {
96                            gr2lib.core.coretypes.native.Layout _native_ptr;
97                          gr2lib.core.coretypes.native.Layout _native;                          gr2lib.core.coretypes.native.Layout _native;
98                          Layout _tmp_layout = new Layout();                          Layout _tmp_layout = new Layout();
99                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));                          _native_ptr = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));
100                          _tmp_layout.BytesPerPixel = Marshal.ReadInt32((IntPtr)_native.BytesPerPixel);                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure((IntPtr)_native_ptr.BytesPerPixel, typeof(gr2lib.core.coretypes.native.Layout));
101                          for (int i = 0; i < _native.ShiftForComponent.Length; i++) { _tmp_layout.ShiftForComponent[i] = Marshal.ReadInt32((IntPtr)_native.ShiftForComponent[i]); }                          _tmp_layout.NativePointer = (IntPtr)_native_ptr.BytesPerPixel;
102                          for (int i = 0; i < _native.BitsForComponent.Length; i++) { _tmp_layout.BitsForComponent[i] = Marshal.ReadInt32((IntPtr)_native.BitsForComponent[i]); }                          _tmp_layout.BytesPerPixel = _native.BytesPerPixel;
103                          _tmp_layout.NativePointer = (IntPtr)_native.BytesPerPixel;                          _tmp_layout.ShiftForComponent = _native.ShiftForComponent;
104                            _tmp_layout.BitsForComponent = _native.BitsForComponent;
105                          return _tmp_layout;                          return _tmp_layout;
106                      }                      }
107                      else                      else
# Line 117  namespace gr2lib.core.typedefs Line 134  namespace gr2lib.core.typedefs
134                      IntPtr addr = coreapi.GetProcAddress(hdl, "GrannyRGB565PixelFormat");                      IntPtr addr = coreapi.GetProcAddress(hdl, "GrannyRGB565PixelFormat");
135                      if (addr != IntPtr.Zero)                      if (addr != IntPtr.Zero)
136                      {                      {
137                            gr2lib.core.coretypes.native.Layout _native_ptr;
138                          gr2lib.core.coretypes.native.Layout _native;                          gr2lib.core.coretypes.native.Layout _native;
139                          Layout _tmp_layout = new Layout();                          Layout _tmp_layout = new Layout();
140                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));                          _native_ptr = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));
141                          _tmp_layout.BytesPerPixel = Marshal.ReadInt32((IntPtr)_native.BytesPerPixel);                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure((IntPtr)_native_ptr.BytesPerPixel, typeof(gr2lib.core.coretypes.native.Layout));
142                          for (int i = 0; i < _native.ShiftForComponent.Length; i++) { _tmp_layout.ShiftForComponent[i] = Marshal.ReadInt32((IntPtr)_native.ShiftForComponent[i]); }                          _tmp_layout.NativePointer = (IntPtr)_native_ptr.BytesPerPixel;
143                          for (int i = 0; i < _native.BitsForComponent.Length; i++) { _tmp_layout.BitsForComponent[i] = Marshal.ReadInt32((IntPtr)_native.BitsForComponent[i]); }                          _tmp_layout.BytesPerPixel = _native.BytesPerPixel;
144                          _tmp_layout.NativePointer = (IntPtr)_native.BytesPerPixel;                          _tmp_layout.ShiftForComponent = _native.ShiftForComponent;
145                            _tmp_layout.BitsForComponent = _native.BitsForComponent;
146                          return _tmp_layout;                          return _tmp_layout;
147                      }                      }
148                      else                      else
# Line 155  namespace gr2lib.core.typedefs Line 174  namespace gr2lib.core.typedefs
174                      IntPtr addr = coreapi.GetProcAddress(hdl, "GrannyRGBA5551PixelFormat");                      IntPtr addr = coreapi.GetProcAddress(hdl, "GrannyRGBA5551PixelFormat");
175                      if (addr != IntPtr.Zero)                      if (addr != IntPtr.Zero)
176                      {                      {
177                            gr2lib.core.coretypes.native.Layout _native_ptr;
178                          gr2lib.core.coretypes.native.Layout _native;                          gr2lib.core.coretypes.native.Layout _native;
179                          Layout _tmp_layout = new Layout();                          Layout _tmp_layout = new Layout();
180                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));                          _native_ptr = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));
181                          _tmp_layout.BytesPerPixel = Marshal.ReadInt32((IntPtr)_native.BytesPerPixel);                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure((IntPtr)_native_ptr.BytesPerPixel, typeof(gr2lib.core.coretypes.native.Layout));
182                          for (int i = 0; i < _native.ShiftForComponent.Length; i++) { _tmp_layout.ShiftForComponent[i] = Marshal.ReadInt32((IntPtr)_native.ShiftForComponent[i]); }                          _tmp_layout.NativePointer = (IntPtr)_native_ptr.BytesPerPixel;
183                          for (int i = 0; i < _native.BitsForComponent.Length; i++) { _tmp_layout.BitsForComponent[i] = Marshal.ReadInt32((IntPtr)_native.BitsForComponent[i]); }                          _tmp_layout.BytesPerPixel = _native.BytesPerPixel;
184                          _tmp_layout.NativePointer = (IntPtr)_native.BytesPerPixel;                          _tmp_layout.ShiftForComponent = _native.ShiftForComponent;
185                            _tmp_layout.BitsForComponent = _native.BitsForComponent;
186                          return _tmp_layout;                          return _tmp_layout;
187                      }                      }
188                      else                      else
# Line 192  namespace gr2lib.core.typedefs Line 213  namespace gr2lib.core.typedefs
213                      IntPtr addr = coreapi.GetProcAddress(hdl, "GrannyRGBA4444PixelFormat");                      IntPtr addr = coreapi.GetProcAddress(hdl, "GrannyRGBA4444PixelFormat");
214                      if (addr != IntPtr.Zero)                      if (addr != IntPtr.Zero)
215                      {                      {
216                            gr2lib.core.coretypes.native.Layout _native_ptr;
217                          gr2lib.core.coretypes.native.Layout _native;                          gr2lib.core.coretypes.native.Layout _native;
218                          Layout _tmp_layout = new Layout();                          Layout _tmp_layout = new Layout();
219                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));                          _native_ptr = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));
220                          _tmp_layout.BytesPerPixel = Marshal.ReadInt32((IntPtr)_native.BytesPerPixel);                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure((IntPtr)_native_ptr.BytesPerPixel, typeof(gr2lib.core.coretypes.native.Layout));
221                          for (int i = 0; i < _native.ShiftForComponent.Length; i++) { _tmp_layout.ShiftForComponent[i] = Marshal.ReadInt32((IntPtr)_native.ShiftForComponent[i]); }                          _tmp_layout.NativePointer = (IntPtr)_native_ptr.BytesPerPixel;
222                          for (int i = 0; i < _native.BitsForComponent.Length; i++) { _tmp_layout.BitsForComponent[i] = Marshal.ReadInt32((IntPtr)_native.BitsForComponent[i]); }                          _tmp_layout.BytesPerPixel = _native.BytesPerPixel;
223                          _tmp_layout.NativePointer = (IntPtr)_native.BytesPerPixel;                          _tmp_layout.ShiftForComponent = _native.ShiftForComponent;
224                            _tmp_layout.BitsForComponent = _native.BitsForComponent;
225                          return _tmp_layout;                          return _tmp_layout;
226                      }                      }
227                      else                      else
# Line 229  namespace gr2lib.core.typedefs Line 252  namespace gr2lib.core.typedefs
252                      IntPtr addr = coreapi.GetProcAddress(hdl, "GrannyRGB888PixelFormat");                      IntPtr addr = coreapi.GetProcAddress(hdl, "GrannyRGB888PixelFormat");
253                      if (addr != IntPtr.Zero)                      if (addr != IntPtr.Zero)
254                      {                      {
255                            gr2lib.core.coretypes.native.Layout _native_ptr;
256                          gr2lib.core.coretypes.native.Layout _native;                          gr2lib.core.coretypes.native.Layout _native;
257                          Layout _tmp_layout = new Layout();                          Layout _tmp_layout = new Layout();
258                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));                          _native_ptr = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));
259                          _tmp_layout.BytesPerPixel = Marshal.ReadInt32((IntPtr)_native.BytesPerPixel);                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure((IntPtr)_native_ptr.BytesPerPixel, typeof(gr2lib.core.coretypes.native.Layout));
260                          for (int i = 0; i < _native.ShiftForComponent.Length; i++) { _tmp_layout.ShiftForComponent[i] = Marshal.ReadInt32((IntPtr)_native.ShiftForComponent[i]); }                          _tmp_layout.NativePointer = (IntPtr)_native_ptr.BytesPerPixel;
261                          for (int i = 0; i < _native.BitsForComponent.Length; i++) { _tmp_layout.BitsForComponent[i] = Marshal.ReadInt32((IntPtr)_native.BitsForComponent[i]); }                          _tmp_layout.BytesPerPixel = _native.BytesPerPixel;
262                          _tmp_layout.NativePointer = (IntPtr)_native.BytesPerPixel;                          _tmp_layout.ShiftForComponent = _native.ShiftForComponent;
263                            _tmp_layout.BitsForComponent = _native.BitsForComponent;
264                          return _tmp_layout;                          return _tmp_layout;
265                      }                      }
266                      else                      else
# Line 271  namespace gr2lib.core.typedefs Line 296  namespace gr2lib.core.typedefs
296                          Layout _tmp_layout = new Layout();                          Layout _tmp_layout = new Layout();
297                          _native_ptr = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));                          _native_ptr = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));
298                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure((IntPtr)_native_ptr.BytesPerPixel, typeof(gr2lib.core.coretypes.native.Layout));                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure((IntPtr)_native_ptr.BytesPerPixel, typeof(gr2lib.core.coretypes.native.Layout));
299                            _tmp_layout.NativePointer = (IntPtr)_native_ptr.BytesPerPixel;
300                          _tmp_layout.BytesPerPixel = _native.BytesPerPixel;                          _tmp_layout.BytesPerPixel = _native.BytesPerPixel;
301                          _tmp_layout.ShiftForComponent = _native.ShiftForComponent;                          _tmp_layout.ShiftForComponent = _native.ShiftForComponent;
302                          _tmp_layout.BitsForComponent = _native.BitsForComponent;                          _tmp_layout.BitsForComponent = _native.BitsForComponent;
# Line 309  namespace gr2lib.core.typedefs Line 335  namespace gr2lib.core.typedefs
335                          Layout _tmp_layout = new Layout();                          Layout _tmp_layout = new Layout();
336                          _native_ptr = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));                          _native_ptr = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));
337                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure((IntPtr)_native_ptr.BytesPerPixel, typeof(gr2lib.core.coretypes.native.Layout));                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure((IntPtr)_native_ptr.BytesPerPixel, typeof(gr2lib.core.coretypes.native.Layout));
338                            _tmp_layout.NativePointer = (IntPtr)_native_ptr.BytesPerPixel;
339                          _tmp_layout.BytesPerPixel = _native.BytesPerPixel;                          _tmp_layout.BytesPerPixel = _native.BytesPerPixel;
340                          _tmp_layout.ShiftForComponent = _native.ShiftForComponent;                          _tmp_layout.ShiftForComponent = _native.ShiftForComponent;
341                          _tmp_layout.BitsForComponent = _native.BitsForComponent;                          _tmp_layout.BitsForComponent = _native.BitsForComponent;
# Line 347  namespace gr2lib.core.typedefs Line 374  namespace gr2lib.core.typedefs
374                          Layout _tmp_layout = new Layout();                          Layout _tmp_layout = new Layout();
375                          _native_ptr = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));                          _native_ptr = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));
376                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure((IntPtr)_native_ptr.BytesPerPixel, typeof(gr2lib.core.coretypes.native.Layout));                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure((IntPtr)_native_ptr.BytesPerPixel, typeof(gr2lib.core.coretypes.native.Layout));
377                            _tmp_layout.NativePointer = (IntPtr)_native_ptr.BytesPerPixel;
378                          _tmp_layout.BytesPerPixel = _native.BytesPerPixel;                          _tmp_layout.BytesPerPixel = _native.BytesPerPixel;
379                          _tmp_layout.ShiftForComponent = _native.ShiftForComponent;                          _tmp_layout.ShiftForComponent = _native.ShiftForComponent;
380                          _tmp_layout.BitsForComponent = _native.BitsForComponent;                          _tmp_layout.BitsForComponent = _native.BitsForComponent;
# Line 385  namespace gr2lib.core.typedefs Line 413  namespace gr2lib.core.typedefs
413                          Layout _tmp_layout = new Layout();                          Layout _tmp_layout = new Layout();
414                          _native_ptr = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));                          _native_ptr = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));
415                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure((IntPtr)_native_ptr.BytesPerPixel, typeof(gr2lib.core.coretypes.native.Layout));                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure((IntPtr)_native_ptr.BytesPerPixel, typeof(gr2lib.core.coretypes.native.Layout));
416                            _tmp_layout.NativePointer = (IntPtr)_native_ptr.BytesPerPixel;
417                          _tmp_layout.BytesPerPixel = _native.BytesPerPixel;                          _tmp_layout.BytesPerPixel = _native.BytesPerPixel;
418                          _tmp_layout.ShiftForComponent = _native.ShiftForComponent;                          _tmp_layout.ShiftForComponent = _native.ShiftForComponent;
419                          _tmp_layout.BitsForComponent = _native.BitsForComponent;                          _tmp_layout.BitsForComponent = _native.BitsForComponent;
# Line 423  namespace gr2lib.core.typedefs Line 452  namespace gr2lib.core.typedefs
452                          Layout _tmp_layout = new Layout();                          Layout _tmp_layout = new Layout();
453                          _native_ptr = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));                          _native_ptr = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));
454                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure((IntPtr)_native_ptr.BytesPerPixel, typeof(gr2lib.core.coretypes.native.Layout));                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure((IntPtr)_native_ptr.BytesPerPixel, typeof(gr2lib.core.coretypes.native.Layout));
455                            _tmp_layout.NativePointer = (IntPtr)_native_ptr.BytesPerPixel;
456                          _tmp_layout.BytesPerPixel = _native.BytesPerPixel;                          _tmp_layout.BytesPerPixel = _native.BytesPerPixel;
457                          _tmp_layout.ShiftForComponent = _native.ShiftForComponent;                          _tmp_layout.ShiftForComponent = _native.ShiftForComponent;
458                          _tmp_layout.BitsForComponent = _native.BitsForComponent;                          _tmp_layout.BitsForComponent = _native.BitsForComponent;
# Line 461  namespace gr2lib.core.typedefs Line 491  namespace gr2lib.core.typedefs
491                          Layout _tmp_layout = new Layout();                          Layout _tmp_layout = new Layout();
492                          _native_ptr = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));                          _native_ptr = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));
493                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure((IntPtr)_native_ptr.BytesPerPixel, typeof(gr2lib.core.coretypes.native.Layout));                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure((IntPtr)_native_ptr.BytesPerPixel, typeof(gr2lib.core.coretypes.native.Layout));
494                            _tmp_layout.NativePointer = (IntPtr)_native_ptr.BytesPerPixel;
495                          _tmp_layout.BytesPerPixel = _native.BytesPerPixel;                          _tmp_layout.BytesPerPixel = _native.BytesPerPixel;
496                          _tmp_layout.ShiftForComponent = _native.ShiftForComponent;                          _tmp_layout.ShiftForComponent = _native.ShiftForComponent;
497                          _tmp_layout.BitsForComponent = _native.BitsForComponent;                          _tmp_layout.BitsForComponent = _native.BitsForComponent;
# Line 499  namespace gr2lib.core.typedefs Line 530  namespace gr2lib.core.typedefs
530                          Layout _tmp_layout = new Layout();                          Layout _tmp_layout = new Layout();
531                          _native_ptr = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));                          _native_ptr = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));
532                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure((IntPtr)_native_ptr.BytesPerPixel, typeof(gr2lib.core.coretypes.native.Layout));                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure((IntPtr)_native_ptr.BytesPerPixel, typeof(gr2lib.core.coretypes.native.Layout));
533                            _tmp_layout.NativePointer = (IntPtr)_native_ptr.BytesPerPixel;
534                          _tmp_layout.BytesPerPixel = _native.BytesPerPixel;                          _tmp_layout.BytesPerPixel = _native.BytesPerPixel;
535                          _tmp_layout.ShiftForComponent = _native.ShiftForComponent;                          _tmp_layout.ShiftForComponent = _native.ShiftForComponent;
536                          _tmp_layout.BitsForComponent = _native.BitsForComponent;                          _tmp_layout.BitsForComponent = _native.BitsForComponent;
# Line 537  namespace gr2lib.core.typedefs Line 569  namespace gr2lib.core.typedefs
569                          Layout _tmp_layout = new Layout();                          Layout _tmp_layout = new Layout();
570                          _native_ptr = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));                          _native_ptr = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure(addr, typeof(gr2lib.core.coretypes.native.Layout));
571                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure((IntPtr)_native_ptr.BytesPerPixel, typeof(gr2lib.core.coretypes.native.Layout));                          _native = (gr2lib.core.coretypes.native.Layout)Marshal.PtrToStructure((IntPtr)_native_ptr.BytesPerPixel, typeof(gr2lib.core.coretypes.native.Layout));
572                            _tmp_layout.NativePointer = (IntPtr)_native_ptr.BytesPerPixel;
573                          _tmp_layout.BytesPerPixel = _native.BytesPerPixel;                          _tmp_layout.BytesPerPixel = _native.BytesPerPixel;
574                          _tmp_layout.ShiftForComponent = _native.ShiftForComponent;                          _tmp_layout.ShiftForComponent = _native.ShiftForComponent;
575                          _tmp_layout.BitsForComponent = _native.BitsForComponent;                          _tmp_layout.BitsForComponent = _native.BitsForComponent;

Legend:
Removed from v.148  
changed lines
  Added in v.167

  ViewVC Help
Powered by ViewVC 1.1.22