示例#1
0
 public CBitmap CheckError()
 {
     CBitmap dst = new CBitmap(cj.sof.width, cj.sof.height);
     for (int i = 0; i < dst.width; i++)
     {
         for (int j = 0; j < dst.height; j++)
         {
             if (error[i] == 1)
             {
                 dst.SetPixel(i * 8, (i * 8) + 7, j * 8, (j * 8) + 7, 255, 0, 0);
             }
         }
     }
     return dst;
 }