dstX, dstY, dstSurfStruct,
width, height, compType, alpha,
matrix, clipRects, numVertex);
}
}else if(comp instanceof XORComposite){
XORComposite xcomp = (XORComposite) comp;
if(srcSurf instanceof ImageSurface){
xorImage(srcX, srcY, srcSurfStruct, srcSurf.getData(),
dstX, dstY, dstSurfStruct,
width, height, xcomp.getXORColor().getRGB(),
matrix, clipRects, numVertex, srcSurf.invalidated());
srcSurf.validate();
}else{
xorBitmap(srcX, srcY, srcSurfStruct,
dstX, dstY, dstSurfStruct,
width, height, xcomp.getXORColor().getRGB(),
matrix, clipRects, numVertex);
}
}else{
throw new IllegalArgumentException("Unknown Composite type - " +
comp.getClass());