public void UpdateHistogram (ISurface surface, Rectangle rect) { Clear (); AddSurfaceRectangleToHistogram (surface, rect); OnHistogramUpdated (); }