public Font(string name) { bool flag = Path.GetDirectoryName(name) == string.Empty; bool flag2 = flag; if (flag2) { Font.Internal_CreateFont(this, name); } else { Font.Internal_CreateFontFromPath(this, name); } }
public Font(string name) { Font.Internal_CreateFont(this, name); }
public Font() { Font.Internal_CreateFont(this, null); }
/// <summary> /// <para>Create a new Font.</para> /// </summary> /// <param name="name">The name of the created Font object.</param> public Font() { Font.Internal_CreateFont(this, (string)null); }