public Font(string family, string name, SkiaSharp.SKTypefaceStyle style, float ascent) { Family = family; Name = name; Style = style; Ascent = ascent; }
public FontCharacter(List <ShapeGroup> shapes, char character, double size, double width, SkiaSharp.SKTypefaceStyle style, string fontFamily) { Shapes = shapes; _character = character; _size = size; Width = width; _style = style; _fontFamily = fontFamily; }
internal static int HashFor(char character, string fontFamily, SkiaSharp.SKTypefaceStyle style) { var result = 0; result = 31 * result + character; result = 31 * result + fontFamily.GetHashCode(); result = 31 * result + style.GetHashCode(); return(result); }