for (int x = x0; x < x1; x++) drawPixel(x, y);
Raster paintRaster = pCtx.getRaster(x0, y, x1 - x0, 1); ColorModel paintColorModel = pCtx.getColorModel(); CompositeContext cCtx = composite.createContext(paintColorModel, getColorModel(), renderingHints); cCtx.compose(paintRaster, destinationRaster, destinationRaster); updateRaster(destinationRaster, x0, y, x1 - x0, 1); cCtx.dispose();
  protected void fillScanline(int x0, int x1, int y)  {    for (int x = x0; x < x1; x++)      drawPixel(x, y);  }