// Note: clip screws up down-scaled lines
// Note: we need to take the intersection of the current
// clip with the background figure. This is probably slow...
// FIXME: Optimize for rectangles
Area a = new Area(currentClip);
a.intersect(new Area(getShape()));
g.setClip(a);
// g.setClip(getShape());
// Paint the pane
_wrappedPane.paint(g, region);