Ejemplo n.º 1
0
        private static Class26.Class1060 smethod_0(string fontFileName, bool bold, bool italic)
        {
            string key = fontFileName + (object)char.MinValue + (object)bold + (object)char.MinValue + (object)italic;

            Class26.Class1060 class1060;
            lock (Class26.dictionary_0)
            {
                if (!Class26.dictionary_0.TryGetValue(key, out class1060))
                {
                    class1060 = new Class26.Class1060(fontFileName, bold, italic);
                    if (!Class26.dictionary_0.ContainsKey(key))
                    {
                        Class26.dictionary_0.Add(key, class1060);
                    }
                }
            }
            return(class1060);
        }
Ejemplo n.º 2
0
 internal Class26(string fontFileName, Class596 settings)
     : base(settings)
 {
     this.class1060_0 = Class26.smethod_0(fontFileName, settings.Bold, settings.Italic);
 }
Ejemplo n.º 3
0
 internal Class26(string fontFileName, bool bold, bool italic)
     : base(1.0)
 {
     this.class1060_0 = Class26.smethod_0(fontFileName, bold, italic);
 }
Ejemplo n.º 4
0
 public Class26(Class596 settings, bool useBigfont)
     : base(settings)
 {
     this.class1060_0 = Class26.smethod_0(useBigfont ? settings.BigFontFilename : settings.FontFileName, settings.Bold, settings.Italic);
 }