Bounds oldClip = gfx.getClipRect();
gfx.setClipRect(new Bounds(0,0,size,size));
gfx.scale(scale,scale);
gfx.translate(-bounds.getX(),-bounds.getY());
SelfDrawable sd = (SelfDrawable) item;
sd.draw(gfx);
gfx.translate(bounds.getX(),bounds.getY());
gfx.scale(1/scale,1/scale);
gfx.setClipRect(oldClip);
}
gfx.setPaint(FlatColor.BLACK);