BizHawk/Bizware/BizHawk.Bizware.BizwareGL/Borrowed/BitmapFontParser/Kerning.cs

39 lines
875 B
C#
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//public domain assumed from cyotek.com
namespace Cyotek.Drawing.BitmapFont
{
public struct Kerning
{
#region  Public Constructors
public Kerning(char firstCharacter, char secondCharacter, int amount)
: this()
{
this.FirstCharacter = firstCharacter;
this.SecondCharacter = secondCharacter;
this.Amount = amount;
}
#endregion  Public Constructors
#region  Public Methods
public override string ToString()
{
return string.Format("{0} to {1} = {2}", this.FirstCharacter, this.SecondCharacter, this.Amount);
}
#endregion  Public Methods
#region  Public Properties
public char FirstCharacter { get; set; }
public char SecondCharacter { get; set; }
public int Amount { get; set; }
#endregion  Public Properties
}
}