public PSMoveSharpCameraFrameState() { camera_frame_state_rwl = new ReaderWriterLock(); full_image = new Bitmap(ImageWidth, ImageHeight); using (Graphics gfx = Graphics.FromImage(full_image)) using (SolidBrush brush = new SolidBrush(Color.FromArgb(0, 255, 255))) { gfx.FillRectangle(brush, 0, 0, ImageWidth, ImageHeight); } camera_frame_state_collector = new PSMoveSharpCameraFrameStateCollector(); }
public PSMoveSharpCameraFrameState() { camera_frame_state_rwl = new ReaderWriterLock(); //full_image = new List<byte[]>(); /* * using (Graphics gfx = Graphics.FromImage(full_image)) * using (SolidBrush brush = new SolidBrush(Color.FromArgb(0, 255, 255))) * { * gfx.FillRectangle(brush, 0, 0, ImageWidth, ImageHeight); * } */ camera_frame_state_collector = new PSMoveSharpCameraFrameStateCollector(); }
public PSMoveSharpCameraFrameState() { camera_frame_state_rwl = new ReaderWriterLock(); //full_image = new List<byte[]>(); /* using (Graphics gfx = Graphics.FromImage(full_image)) using (SolidBrush brush = new SolidBrush(Color.FromArgb(0, 255, 255))) { gfx.FillRectangle(brush, 0, 0, ImageWidth, ImageHeight); } */ camera_frame_state_collector = new PSMoveSharpCameraFrameStateCollector(); }