private async void InitAll() { this.plotter = new Plotter(this); await plotter.Init(); await plotter.PenUp(); this.painter = new Painter(plotter, this); this.textPainter = new TextPainter(plotter, new FontEnRu(), 35, 70, 15); this.textPainterSmall = new TextPainter(plotter, new FontEnRu(), 22, 45, 5); }
public Painter(Plotter plotter, ILogger logger) { this.plotter = plotter; this.logger = logger; }