void Graphic::draw(Canvas* c, const Allocation&) const { if (c != nil) { Graphic* gr = (Graphic*) this; CanvasDamage& cd = c->rep()->damage_; gr->drawclipped( c, cd.left, cd.bottom, cd.right, cd.top ); } }