public override void Paint(Graphics g) { var brushSwitcher = new BrushSwitcher(); foreach (var hand in this.dataSource.CurrentValue.Hands) { PaintHand(g, hand); } }
public override void Paint(Graphics g) { g.ScaleTransform(this.zoomFactor, this.zoomFactor); var brushSwitcher = new BrushSwitcher(); foreach (var cluster in this.dataSource.CurrentValue.Clusters) { this.DrawClusterPoints(cluster, g, brushSwitcher.GetNext()); this.DrawCenter(cluster, g); } }