// current clipping region with those of the current shape excluded.
else if (mode == EMFConstants.RGN_DIFF) {
Shape clip = renderer.getClip();
if (clip != null) {
Area a = new Area(shape);
a.subtract(new Area(clip));
renderer.setClip(a);
} else {
renderer.setClip(shape);
}
}