dstX, dstY, dstSurfStruct,
width, height, compType, alpha,
matrix, clipRects, numVertex);
}
}else if(comp instanceof XORComposite){
XORComposite xcomp = (XORComposite) comp;
if(srcSurf instanceof ImageSurface){
Object data = srcSurf.getData();
int dirtyRegions[] = ((ImageSurface) srcSurf).getDirtyRegions();
int regCount = 0;
if(dirtyRegions != null) regCount = dirtyRegions[0] - 1;
synchronized(data){
xorImage(srcX, srcY, srcSurfStruct, data,
dstX, dstY, dstSurfStruct,
width, height, xcomp.getXORColor().getRGB(),
matrix, clipRects, numVertex,
srcSurf.invalidated(), dirtyRegions, regCount);
}
srcSurf.validate();
}else{
xorBitmap(srcX, srcY, srcSurfStruct,
dstX, dstY, dstSurfStruct,
width, height, xcomp.getXORColor().getRGB(),
matrix, clipRects, numVertex);
}
}else{
// awt.17=Unknown Composite type : {0}
throw new IllegalArgumentException(Messages.getString("awt.17", //$NON-NLS-1$