Exemplo n.º 1
0
 public static ISize Measure(ISize bbox, string text, params object[] args)
 {
     BearLibTerminalIntegration.Measure(bbox.Width, bbox.Height, Helpers.Format(text, args), out int width, out int height);
     return(SizeFactory.GetSize(width, height));
 }