code: private void setDestPixel(int[] dstImage, int x, int y, int p)
      {
          dstImage[x + y * width * SCALE] = p;
      }
docs: Set destination pixel.
  
  @param dstImage The image destination.
  @param x The location x.
  @param y The location y.
  @param p The pixel destination value.