Example #1
0
        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));
        }
Example #2
0
 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));
 }