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