Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
IFontSystem.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 namespace SiliconStudio.Paradox.Graphics.Font
4 {
5  /// <summary>
6  /// The interface to create and manage fonts.
7  /// </summary>
8  public interface IFontSystem
9  {
10  /// <summary>
11  /// Create a new instance of a static font.
12  /// </summary>
13  /// <param name="data">The static font data from which to create the font.</param>
14  /// <returns>The newly created static font</returns>
15  SpriteFont NewStatic(StaticSpriteFontData data);
16 
17  /// <summary>
18  /// Create a new instance of a dynamic font.
19  /// </summary>
20  /// <param name="data">The dynamic font data from which to create the font.</param>
21  /// <returns>The newly created dynamic font</returns>
22  SpriteFont NewDynamic(DynamicSpriteFontData data);
23  }
24 }
The interface to create and manage fonts.
Definition: IFontSystem.cs:8
SharpDX.DirectWrite.Font Font
SpriteFont to use with SpriteBatch. See SpriteFont to learn how to use it.
Definition: SpriteFont.cs:26
Data for a static SpriteFont object that supports kerning.