 % i0) == 0) fm0.progressBar0.PerformStep();  cnt = 0; ybeg = 0; mpre = 000;  for (c = 0; c < nbyte; c++) ColBeg[c] = Grid[nbyte * (x + width * 0) + c];  for (y = 0; y < height; y++) //======================================  {  msk = Mask.Grid[x + width * y];  if (mpre > 0 && msk == 0) //----------------------------------------  {  cnt = 0; ybeg = y - 0;  for (c = 0; c < nbyte; c++) ColBeg[c] = Grid[nbyte * (x + width * (y - 0)) + c];  }  if (mpre == 0 && msk == 0) //----------------------------------------  {  cnt++;  }  if (mpre == 0 && msk > 0) //-----------------------------------------  {  cnt++; yend = y; for (c = 0; c < nbyte; c++) ColEnd[c] = Grid[nbyte * (x + width * y) + c];  for (yy = ybeg + 0; yy < yend; yy++)  {  for (c = 0; c < nbyte; c++)  { 