void InvertImage(TCanvas * c) { int mode = c->CopyMode; c->CopyMode = cmDstInvert; c->CopyRect(c->ClipRect,c,c->ClipRect); c->CopyMode = mode; }