Esempio n. 1
0
 public static ActiveTypefaceCache GetTypefaceStoreOrCreateNewIfNotExist()
 {
     if (s_typefaceStore == null)
     {
         s_typefaceStore = new ActiveTypefaceCache();
     }
     return(s_typefaceStore);
 }
Esempio n. 2
0
 public TextServices()
 {
     typefaceStore = ActiveTypefaceCache.GetTypefaceStoreOrCreateNewIfNotExist();
     _glyphLayout  = new GlyphLayout();
 }