// // Copyright (c) Antmicro // // Full license details are defined in the 'LICENSE' file. // using System; using TermSharp.Misc; using Xwt; using Xwt.Drawing; namespace TermSharp.Rows { internal class RowUtils { public static SimpleCache TextLayoutCache { get; } = new SimpleCache(Utilities.GetTextLayoutFromLayoutParams); public static SimpleCache LineSizeCache { get; } = new SimpleCache(Utilities.GetLineSizeFromLayoutParams); public static SimpleCache CharSizeCache { get; } = new SimpleCache(Utilities.GetCharSizeFromLayoutParams); } }