Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
Kerning.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 using SiliconStudio.Core;
4 
5 namespace SiliconStudio.Paradox.Graphics.Font
6 {
7  /// <summary>
8  /// Describes kerning information.
9  /// </summary>
10  [DataContract]
11  public struct Kerning
12  {
13  /// <summary>
14  /// Unicode for the 1st character.
15  /// </summary>
16  public int First;
17 
18  /// <summary>
19  /// Unicode for the 2nd character.
20  /// </summary>
21  public int Second;
22 
23  /// <summary>
24  /// X Offsets in pixels to apply between the 1st and 2nd character.
25  /// </summary>
26  public float Offset;
27  }
28 }
int First
Unicode for the 1st character.
Definition: Kerning.cs:16
float Offset
X Offsets in pixels to apply between the 1st and 2nd character.
Definition: Kerning.cs:26
int Second
Unicode for the 2nd character.
Definition: Kerning.cs:21
Describes kerning information.
Definition: Kerning.cs:11
SharpDX.DirectWrite.Font Font