Ejemplo n.º 1
0
 public static InstalledTypefaceCollection GetSharedTypefaceCollection(FirstInitFontCollectionDelegate initdel)
 {
     if (s_intalledTypefaces == null)
     {
         //first time
         s_intalledTypefaces = new InstalledTypefaceCollection();
         initdel(s_intalledTypefaces);
     }
     return(s_intalledTypefaces);
 }
Ejemplo n.º 2
0
 public static InstalledFontCollection GetSharedFontCollection(FirstInitFontCollectionDelegate initdel)
 {
     if (s_sharedFontCollection == null)
     {
         //first time
         s_sharedFontCollection = new InstalledFontCollection();
         initdel(s_sharedFontCollection);
     }
     return(s_sharedFontCollection);
 }