Example #1
0
 /// <summary>
 /// Registers font creator. User can provide his own fonts creator if built in is not sufficiet.
 /// </summary>
 /// <param name="fontCreator"></param>
 public void RegisterFontCreator(IFontCreator fontCreator)
 {
     if (null != fontCreator)
     {
         this.fontCreators.Add(fontCreator);
         this.fontsNames = null;
     }
 }
Example #2
0
 /// <summary>
 /// Registers font creator. User can provide his own fonts creator if built in is not sufficiet.
 /// </summary>
 /// <param name="fontCreator"></param>
 public void RegisterFontCreator(IFontCreator fontCreator)
 {
     if (null != fontCreator)
     {
         this.fontCreators.Add(fontCreator);
         this.fontsNames = null;
     }
 }
Example #3
0
        /// <summary>
        /// Unregisters font creator.
        /// </summary>
        /// <param name="fontCreator"></param>
        public void UnRegisterFontCreator(IFontCreator fontCreator)
        {
            this.fontCreators.Remove(fontCreator);

            this.fontsNames = null;
        }
Example #4
0
        /// <summary>
        /// Unregisters font creator.
        /// </summary>
        /// <param name="fontCreator"></param>
        public void UnRegisterFontCreator(IFontCreator fontCreator)
        {
            this.fontCreators.Remove(fontCreator);

            this.fontsNames = null;
        }