public void SetPixel(uint Sector, GDFSectorStatus Status) { int y = (int)Math.Floor((double)(((double)Sector) / ((double)this.Bmp.Width))); int x = ((int)Sector) - (this.Bmp.Width * y); this.Bmp.SetPixel(x, y, Color.FromArgb((int)Status)); }
public void SetPixel(uint Sector, GDFSectorStatus Status) { int y = (int) Math.Floor((double) (((double) Sector) / ((double) this.Bmp.Width))); int x = ((int) Sector) - (this.Bmp.Width * y); this.Bmp.SetPixel(x, y, Color.FromArgb((int) Status)); }