Exemplo n.º 1
0
 public Result <Bitmap> Render(IEnumerable <TagStat> tagStats)
 {
     return(Initialize()
            .Then(none => layouter.RefreshWith(settings.CenterPoint))
            .Then(none => painter.SetBackgroundColorFor(graphics))
            .Then(none => GetResultTags(tagStats))
            .Then(tags => tags.ApplyForeach(graphics.DrawTag))
            .Then(_ => bitmap));
 }