예제 #1
0
        public void Reset()
        {
            var device = _connector.GetDevice();

            device.Image.Clear();
            device.Update();
        }
예제 #2
0
        public void Draw(SinglePixelDTO pixelDTO)
        {
            var device      = _connector.GetDevice();
            var image       = device.Image;
            var pixelAdress = _pixelPointer.GetDevicePixel(pixelDTO.PixelLocation);

            image.SetPixel(pixelAdress, 0, pixelDTO.Color);
            device.Update();
        }
예제 #3
0
 public void TestConnection()
 {
     try
     {
         DrawTest(_connector.GetDevice());
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }