示例#1
0
 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();
 }
示例#2
0
        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();
        }
示例#3
0
 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();
 }