How can I clear the contents of a canvas?
Simply draw a rectangle in the desired color.
Canvas.Brush.Color := ClWhite;
Canvas.FillRect(Canvas.ClipRect);