Beispiel #1
0
 public NativeBrushContainer(NativeBrushPool pool)
 {
     _pool = pool;
     Brush = (NativeBrush *)Marshal.AllocHGlobal(Marshal.SizeOf(typeof(NativeBrush))).ToPointer();
     Brush->Reset();
 }
Beispiel #2
0
 public NativeBrushContainer(NativeBrushPool pool)
 {
     _pool = pool;
     Brush = (NativeBrush*) Marshal.AllocHGlobal(Marshal.SizeOf(typeof (NativeBrush))).ToPointer();
     Brush->Reset();
 }