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