public void getPixelTypes(int pRowNo, int[] pPixelTypes)
  {
    // For all ScanDots in specified row...
    while((fScanDotIndex < fScanDots.length) &&
      (fScanDots[fScanDotIndex].getY() == pRowNo))
    {
      ScanDot lDot = fScanDots[fScanDotIndex];

      if(lDot.getType() == ScanDot.DotTypeStar)
      {
        if(pPixelTypes[lDot.getX()] == BitGeneratorMap.PixTypeSpace)
        {
          // Stars get only painted on Space.
          pPixelTypes[lDot.getX()] = BitGeneratorMap.PixTypeStar;
        }
      } else
      {
        // The only other type for a dot (so far) is "grid".
        switch(pPixelTypes[lDot.getX()])
        {
          case BitGeneratorMap.PixTypeLand:
            pPixelTypes[lDot.getX()] = BitGeneratorMap.PixTypeGridLand;
            break;

          case BitGeneratorMap.PixTypeWater:
            pPixelTypes[lDot.getX()] = BitGeneratorMap.PixTypeGridWater;
            break;
        }
      }
      fScanDotIndex++;
    }
  }