static void plotClipped(int x, int y, int z, int argb, int argbBackground,
                          Graphics3D g3d,
                          int textWidth, int textHeight, int[] bitmap) {
    int offset = 0;
    int shiftregister = 0;
    int i = 0, j = 0;
    while (i < textHeight) {
      while (j < textWidth) {
        if ((offset & 31) == 0)
          shiftregister = bitmap[offset >> 5];
        if (shiftregister == 0 && argbBackground == 0) {
          int skip = 32 - (offset & 31);
          j += skip;
          offset += skip;
        } else {
          if (shiftregister < 0 || argbBackground != 0)
            g3d.plotPixelClippedNoSlab(shiftregister < 0
                                       ? argb : argbBackground,
                                       x + j, y + i, z);
          shiftregister <<= 1;
          ++offset;
          ++j;
        }
      }
      while (j >= textWidth) {
        ++i;
        j -= textWidth;
      }
    }
  }