public void Reset() { var device = _connector.GetDevice(); device.Image.Clear(); device.Update(); }
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(); }
public void TestConnection() { try { DrawTest(_connector.GetDevice()); } catch (Exception ex) { throw ex; } }